1 --创建临时表空间 2 create temporary tablespace pr_temp 3 tempfile 'F:\app\data\tablespace\pr_temp.dbf' 4 size 50m 5 autoextend on next 50m maxsize 2048m 6....
分类:
数据库 时间:
2015-10-10 18:31:20
阅读次数:
198
尝试编写MeteoInfoLab脚本计算垂直螺旋度,结果未经验证。脚本程序:print 'Open data files...'f_uwnd = addfile('D:/Temp/nc/uwnd.2011.nc')f_vwnd = addfile('D:/Temp/nc/vwnd.2011.nc')...
分类:
其他好文 时间:
2015-10-10 10:30:52
阅读次数:
211
尝试了用MeteoInfoLab编写计算水平螺旋度的脚本,结果未经验证。脚本程序:print 'Open data files...'f_uwnd = addfile('D:/Temp/nc/uwnd.2011.nc')f_vwnd = addfile('D:/Temp/nc/vwnd.2011.n...
分类:
其他好文 时间:
2015-10-10 09:10:01
阅读次数:
226
#includeint PARTITION(int*A,int p,int r)//分治{ int x=A[r-1]; int i=p-1; int j=p; int temp; while(j<=r-1) { if(A[j-1]<=x) ...
分类:
其他好文 时间:
2015-10-09 16:49:54
阅读次数:
116
1、//生成6位数的随机数
int?Temp=(int)?Math.round(Math.random()*999999);?//后面*的是几位数,那么生成的就是几位数的随机数
2、//在java中获取时间用Calendar,不用Date,会造成千年虫问题。 ?...
分类:
编程语言 时间:
2015-10-09 12:29:20
阅读次数:
133
--------------------创建临时表 临时保存从xml字符串解析来的数据---------------------------会话级别临时表SQL> create global temporary table temp_order01 (orderid number,ordernumb...
分类:
数据库 时间:
2015-10-08 18:18:41
阅读次数:
199
#include#includeusing namespace std;int main(){ char ip[16]; char temp[4][4]; cin>>ip; char *delim=".";//分隔符 char *p; unsigned long ...
分类:
其他好文 时间:
2015-10-05 23:26:25
阅读次数:
152
#includeusing namespace std;void Shellsort(int *a,int len){ int gap; for(gap=3;gap>0;gap--) { for(int i=0;i=0&&a[k]>temp) ...
分类:
编程语言 时间:
2015-10-05 18:13:40
阅读次数:
181
1 $arr[$j+1]){ 9 //如果相邻的两个数组元素,前一个比后一个大,则交换位置10 $temp = $arr[$j];11 $arr[$j] = $arr[$j+1];12 ...
分类:
编程语言 时间:
2015-10-04 22:17:30
阅读次数:
276
堆的时间复杂度是建O(n),时间复杂度为堆排序O(NLogN),细节如以下的算法看到:#include using namespace std;void swap(int &i,int &j){ int temp=i; i=j; j=temp;}void shiftDown(int...
分类:
编程语言 时间:
2015-10-04 19:31:58
阅读次数:
162