1. hoare划分 1 int hoare_partition(int a[], int begin, int end) 2 { 3 int pivot = a[begin]; 4 int ini = begin; 5 int ter = end; 6 ...
分类:
其他好文 时间:
2014-08-06 01:51:00
阅读次数:
213
来源《鸟哥的linux私房菜》ps:将某个时间点的程序运作情况撷取下来[root@linux ~]# ps aux[root@linux ~]# ps -lA[root@linux ~]# ps axjf参数:-A :所有的 process 均显示出来,与 -e 具有同样的效用;-a :不与 ter...
分类:
系统相关 时间:
2014-08-05 14:03:39
阅读次数:
392
Borg MazeDescriptionThe Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collective is the ter...
分类:
其他好文 时间:
2014-07-20 22:28:43
阅读次数:
253
题目如下:
Stamps
The government of Nova Mareterrania requires that various legaldocuments have stamps attached to them so that the government canderive revenue from them. In ter...
分类:
其他好文 时间:
2014-07-16 17:23:55
阅读次数:
199
/*长期的物种进化使两栖动物既能活跃在陆地上,又能游动于水中。
利用虚基类建立一个类的多重继承,包括动物(animal,属性有体长,体重和性别),
陆生动物(ter_animal,属性增加了奔跑速度),水生动物(aqu_animal,
属性增加了游泳速度)和两栖动物(amp_animal)。其中两栖动物保留了陆生动物和水生动物的属性。
Input
两栖动物的体长,体重,性别,游泳速度,奔...
分类:
其他好文 时间:
2014-07-10 20:46:52
阅读次数:
221
心血来潮想试试最新的Xcode6 beta和swift语言,新建一个工程开始swift编程之旅,没想到一直报SourceKitService Terminated错误,框框一直弹出来,并且所有的Xcode里的字体都变成了灰色
其原因是我新建project的时候用的名字是swift,这是Apple的一个保留词,所有编译器会报错。
解决办法就是project命名的时候尽量避免Apple的保...
分类:
其他好文 时间:
2014-07-01 09:20:52
阅读次数:
180
在测试sqoop语句的时候,一定要限制记录数量,否则就像我刚才,等了1个多小时,才看到测试结果。????sqoop-import --options-file media_options.txt --table my_table --where "ID = 2" --target-dir /user/jenkins/bigdata/import/20140607 -m 1 --fields-ter...
分类:
其他好文 时间:
2014-06-08 04:57:18
阅读次数:
350
Description长期的物种进化使两栖动物既能活跃在陆地上,又能游动于水中。利用虚基类建立一个类的多重继承,包括动物(animal,属性有体长,体重和性别),陆生动物(ter_animal,属性增加了奔跑速度),水生动物(aqu_animal,属性增加了游泳速度)和两栖动物(amp_animal...
分类:
其他好文 时间:
2014-06-02 19:47:45
阅读次数:
236
新建两个本地环境变量:LANG=zh_CN.GBKNLS_LANG=SIMPLIFIED
CHINESE_CHINA.ZHS16GBK注:oracle的字符集:select * from
v$nls_parameters;1NLS_LANGUAGESIMPLIFIED CHINESE2NLS_TER...
分类:
数据库 时间:
2014-05-10 07:51:32
阅读次数:
598