码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
poj 1151 Atlantis 二分查找+离散化
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平台项目中时间相关内容
由Linux内核提供的基本时间服务是计算自国际标准时间公元1970年1月1日00:00:00以来经过的秒数,以time_t类型表示,被称为“日历时间”,time_t通常定义为一个int型或long型的量。 日历时间有几个典型的特性: 以国际标准时间而非本地时间计时。可自动进行转换,例如变换到夏时制。用一个time_t量保存时间和日期。 程序中获取日历时间使用time()函数,函数...
分类:系统相关   时间:2014-08-17 17:05:32    阅读次数:245
[Shell]Shell基本功能:输入输出重定向
/*----------------------------------------------------------------------------------------------- @黑眼诗人 ---------------------------------------------....
分类:其他好文   时间:2014-08-17 16:52:22    阅读次数:182
关于CCRANDOM_0_1
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 PowerShell 中的 replace,既是是字符串函数,还是运算符,类似于 like、match 之类。 比如,有一个字符串: $a = "aaa.bbb?ccc=ddd" 要去掉问号后面的字符,可以用 repace 函数: $a.replace("?ccc=ddd", "") 但是,replace 函数好像并不支持正则表达式,...
分类:其他好文   时间:2014-08-17 15:37:32    阅读次数:279
XTU OJ 1168 Alice and Bob (二维dp)
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
zoj1456 Minimum Transport Cost
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
POJ 2387-Til the Cows Come Home(最短路Dijkstra+优先队列)
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
两车追及或相遇问题(hdu1275)数学题
两车追及或相遇问题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
Linux 套接字编程 - TCP连接基础
第五章的内容,实现一个echo服务器和对应的客户端,主要收获:0. TCP socket编程主要基本步骤1. SIGCHLD信号含义(子进程退出时向父进程发送,提醒父进程对其状态信息进行一个获取),waitpid 和 wait在使用上的差异,前者可以配置参数设定为非阻塞方式调用,更加灵活。2. 信号...
分类:系统相关   时间:2014-08-17 15:26:12    阅读次数:337
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!