Atlantis
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 17464
Accepted: 6654
Description
There are several ancient Greek texts that contain descriptions...
分类:
其他好文 时间:
2014-08-17 17:06:02
阅读次数:
297
由Linux内核提供的基本时间服务是计算自国际标准时间公元1970年1月1日00:00:00以来经过的秒数,以time_t类型表示,被称为“日历时间”,time_t通常定义为一个int型或long型的量。
日历时间有几个典型的特性:
以国际标准时间而非本地时间计时。可自动进行转换,例如变换到夏时制。用一个time_t量保存时间和日期。
程序中获取日历时间使用time()函数,函数...
分类:
系统相关 时间:
2014-08-17 17:05:32
阅读次数:
245
/*----------------------------------------------------------------------------------------------- @黑眼诗人 ---------------------------------------------....
分类:
其他好文 时间:
2014-08-17 16:52:22
阅读次数:
182
CCRANDOM_0_1的范围是[0,1)包括0但不包括1CCRANDOM_0_1() * 1400.0f / 100.0f是0-13另外每次随机都是相同的数,要随机下种子 srand((unsigned int)time(NULL)); for (int i = 0; i < 100;...
分类:
其他好文 时间:
2014-08-17 16:45:22
阅读次数:
392
PowerShell 中的 replace
PowerShell 中的 replace,既是是字符串函数,还是运算符,类似于 like、match 之类。
比如,有一个字符串:
$a = "aaa.bbb?ccc=ddd"
要去掉问号后面的字符,可以用 repace 函数:
$a.replace("?ccc=ddd", "")
但是,replace 函数好像并不支持正则表达式,...
分类:
其他好文 时间:
2014-08-17 15:37:32
阅读次数:
279
Alice and Bob
Accepted : 98
Submit : 324
Time Limit : 1000 MS
Memory Limit : 65536 KB
Problem Description
Alice and Bob always love to play games, so does thi...
分类:
其他好文 时间:
2014-08-17 15:37:12
阅读次数:
299
ZOJ Problem Set - 1456
Minimum Transport Cost
Time Limit: 2 Seconds
Memory Limit: 65536 KB
These are N cities in Spring country. Between each pair of cities there may be one transportat...
分类:
其他好文 时间:
2014-08-17 15:36:22
阅读次数:
193
Til the Cows Come Home
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 30007
Accepted: 10092
Description
Bessie is out in the field and wants to get back t...
分类:
其他好文 时间:
2014-08-17 15:35:32
阅读次数:
226
两车追及或相遇问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 902 Accepted Submission(s): 259Proble...
分类:
其他好文 时间:
2014-08-17 15:31:02
阅读次数:
212
第五章的内容,实现一个echo服务器和对应的客户端,主要收获:0. TCP socket编程主要基本步骤1. SIGCHLD信号含义(子进程退出时向父进程发送,提醒父进程对其状态信息进行一个获取),waitpid 和 wait在使用上的差异,前者可以配置参数设定为非阻塞方式调用,更加灵活。2. 信号...
分类:
系统相关 时间:
2014-08-17 15:26:12
阅读次数:
337