Given an array S of n integers, find three
integers in S such that the sum is closest to a given number, target. Return the
sum of the three integers....
分类:
其他好文 时间:
2014-05-26 09:58:20
阅读次数:
220
oracle 32位导64位SQL>SHUTDOWN
IMMEDIATE;SQL>STARTUP MOUNT;SQL>ALTER SYSTEM ENABLE RESTRICTED
SESSION;SQL>ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;SQL>ALT.....
分类:
数据库 时间:
2014-05-26 09:15:19
阅读次数:
345
This post introduces how to deal with Number
Conversions with parseInt().
分类:
编程语言 时间:
2014-05-26 09:01:52
阅读次数:
204
ps -eLo
pid,tid,class,rtprio,ni,pri,psr,pcpu,pmem,stat,wchan:30,comm线程相关选项:THREAD
DISPLAYH Show threads as if they were processes-L Show threads, poss...
分类:
编程语言 时间:
2014-05-26 07:33:08
阅读次数:
668
step 1pfile pidstep 2根据 inode number 查找
比如bash-2.05# pfiles 2605326053: python Current rlimit: 256 file descriptors 0:
S_IFCHR mode:0620 dev:32,0 ...
分类:
其他好文 时间:
2014-05-26 07:30:09
阅读次数:
329
1. Fixed: 大小不能改变2. Minimum: 已经是最小, 不能再被缩小, 但能放大.3.
Maximum: 已经是最大, 不能再被放大, 但能缩小.4. Preferred: 控件的sizeHint()是他的sizeHint, 能被缩小, 放大.5.
Expanding: 控件可以自行增...
分类:
其他好文 时间:
2014-05-26 07:14:46
阅读次数:
256
二,TweenMax主类:这里分几个大块来介绍,分别是:第三个参数特有属性(29个),PlugIn(17个),公共属性(10个),公共方法(20个)。1,第三个参数特有属性(29个):这29个参数可以直接传入第三个OBJECT参数中,不会增加文件的大小。(1)delay
: Number:延迟开始,...
分类:
其他好文 时间:
2014-05-26 07:03:00
阅读次数:
332
TIME_WAIT状态
执行主动关闭的一方处于TIME_WAIT状态。端点留在这个状态的时间是2MSL(最长分节生命期: maximum segment lifetime)。
任何TCP实现都必须为MSL选择一个值, RFC1122建议值2分钟,BSD的实现30秒。所以,MSL在1——4分钟之间.....
分类:
其他好文 时间:
2014-05-26 06:48:04
阅读次数:
222
#include
int main()
{
int a;
while(1)
{
printf("please input the number:\n");
scanf("%d",&a);
if(a&1)
{
printf("%d是奇数\n",a);
}
else
{
printf("%d是偶数\n",a);
}
}
return 0;
}这...
分类:
编程语言 时间:
2014-05-26 03:36:15
阅读次数:
367
1 //题目:The prime factors of 13195 are 5, 7, 13 and
29.2 //What is the largest prime factor of the number 600851475143 ? 1 #include
2 using namespace s...
分类:
其他好文 时间:
2014-05-24 10:01:21
阅读次数:
222