码迷,mamicode.com
首页 >  
搜索关键字:wang xifengs little    ( 2433个结果
Codeforces Round #271 (Div. 2) D. Flowers (递推 预处理)
We saw the little game Marmot made for Mole's lunch. Now it's Marmot's dinner time and, as we all know, Marmot eats flowers. At every dinner he eats some red and white flowers. Therefore a dinner can...
分类:其他好文   时间:2014-10-08 16:47:45    阅读次数:229
Linux - 错误处理 代码(C)
错误处理 代码(C)本文地址:http://blog.csdn.net/caroline_wendy错误处理的函数包含在中,主要使用两个函数,strerror()返回出错信息字符串,perror()直接输出错误信息。代码:/*By C.L.Wang * Eclipse CDT * Ubuntu 12.04 * 2014.10.5*/ #include "apue.h" #include "...
分类:系统相关   时间:2014-10-07 21:25:54    阅读次数:187
Linux - 进程控制 代码(C)
进程控制 代码(C)本文地址:http://blog.csdn.net/caroline_wendy输出进程ID,getpid().代码:/*By C.L.Wang * Eclipse CDT * Ubuntu 12.04 * 2014.10.5*/ #include "apue.h" #include "error.h" int main(void) { printf("hello ...
分类:系统相关   时间:2014-10-07 00:51:22    阅读次数:342
Linux - 输入输出流程序 代码(C)
输入输出流程序 代码(C)本文地址:http://blog.csdn.net/caroline_wendy使用输入输出流,控制文件流。STDIN_FILENO,STDOUT_FILENO代表标准输入和标准输出的文件描述符。执行文件使用"./", 结束文件"Ctrl+D"。代码:/*By C.L.Wang * Eclipse CDT * Ubuntu 12.04 * 2014.10.5*/ ...
分类:系统相关   时间:2014-10-06 11:31:10    阅读次数:225
Linux - 标准输入转换为标准输出 代码(C)
标准输入转换为标准输出 代码(C)本文地址:http://blog.csdn.net/caroline_wendyLinux可以使用getc()和putc(),读取和写入每一个输入字符。代码:/*By C.L.Wang * Eclipse CDT * Ubuntu 12.04 * 2014.10.5*/ #include "apue.h" #include "error.h" int m...
分类:系统相关   时间:2014-10-06 11:14:10    阅读次数:236
NYOJ 300 && hdu 2276 Kiki & Little Kiki 2 (矩阵快速幂)
Kiki & Little Kiki 2 时间限制:5000 ms  |  内存限制:65535 KB 难度:4 描述There are n lights in a circle numbered from 1 to n. The left of light 1 is light n, and the left of light k (1 Change the st...
分类:其他好文   时间:2014-10-05 15:25:28    阅读次数:344
ZOJ - 3228 Searching the String (AC自动机)
Description Little jay really hates to deal with string. But moondy likes it very much, and she's so mischievous that she often gives jay some dull problems related to string. And one day, moondy g...
分类:其他好文   时间:2014-10-05 15:19:28    阅读次数:279
Linux - 打印目录所有文件 代码(C)
列出目录所有文件 代码(C)本文地址:http://blog.csdn.net/caroline_wendy首先配置环境,参考:http://blog.csdn.net/caroline_wendy/article/details/39743345输出目录中的所有文件名代码:/*By C.L.Wang * Eclipse CDT * Ubuntu 12.04 * 2014.10.5*/ #...
分类:系统相关   时间:2014-10-05 14:01:18    阅读次数:287
POJ 2828 线段树单点更新 离线搞
Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little ...
分类:其他好文   时间:2014-10-05 01:33:37    阅读次数:349
转: 引用作为函数返回值
转自:http://blog.csdn.net/vivi_wang_11/article/details/7437382函数返回值时,要生成一个值的副本。而用引用返回值时,不生成值的副本。 例如,下面的程序是有关引用返回的4种形式: //********************* //...
分类:其他好文   时间:2014-10-03 15:04:14    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!