码迷,mamicode.com
首页 >  
搜索关键字:done    ( 2584个结果
ZOJ 3885 The Exchange of Items(费用流)
ZOJ 3885 The Exchange of ItemsDescription Bob lives in an ancient village, where transactions are done by one item exchange with another. Bob is very clever and he knows what items will become more va...
分类:其他好文   时间:2015-08-09 20:43:25    阅读次数:141
Shell Scripts - 循环while,until,for
while...do...done until...do...done for...do...done...
分类:系统相关   时间:2015-08-09 14:11:47    阅读次数:150
iSwifting如何发送照片社区
登录iSwifting社区1,首先点击“帖子”:2,点击“照片”:3。点击“选择文件上传”4,上传后的照片:5,点击上传的照片:6,点击“确定”7,最后一步点击“发表帖子”DONE! 版权声明:本文博客原创文章,博客,未经同意,不得转载...
分类:编程语言   时间:2015-08-08 21:14:26    阅读次数:168
[LeetCode] Strobogrammatic Number II
This problem can be solved easily once you find the regularities :-) This link has done it for you. You may refer to its Python version. I rewrite it ...
分类:其他好文   时间:2015-08-08 16:09:29    阅读次数:994
process and memory 对控制台输入echo hello的流程简单剖析
int pid = fork(); if(pid > 0){ printf("parent: child=%d\n", pid); pid = wait(); printf("child %d is done\n", pid); } else if(pid == 0){ printf("child: exiting\n"); exit(); } else { printf("fo...
分类:其他好文   时间:2015-08-08 00:05:22    阅读次数:120
try-except-else-finally
a=raw_input("input a number")try: b=int(a) ------------------Aexcept: print "a is not a number" -------------------Belse: print "done" ---------------...
分类:其他好文   时间:2015-08-07 00:16:56    阅读次数:134
linux下搜索指定内容
echo " ls *.$2 | while read file;do grep -n $1 $file | while read out; do echo $file,$out;done; done">search.sh搜索:sh search.sh get_longest_overlap c即可...
分类:系统相关   时间:2015-08-06 12:41:38    阅读次数:166
Shell 学习18 - Shell while 循环
while循环用于不断执行一系列命令,也用于从输入文件中读取数据;命令通常为测试条件。其格式为: while command do Statement(s) to be executed if command is true done命令执行完毕,控制返回循环顶部,从头开始直至测试条件为假。 以下是一个基本的while循环,测试条件是:如果COUNTER小于5,那么返回 true。COUNTE...
分类:系统相关   时间:2015-08-03 11:34:56    阅读次数:224
Shell 学习17 - Shell for 循环
与其他编程语言类似,Shell支持for循环。 for循环一般格式为: for 变量 in 列表 do command1 command2 ... commandN done列表是一组值(数字、字符串等)组成的序列,每个值通过空格分隔。每循环一次,就将列表中的下一个值赋给变量。 in 列表是可选的,如果不用它,for 循环使用命令行的位置参数。 例如,顺序输出当前列表中的数字: for ...
分类:系统相关   时间:2015-08-02 21:41:02    阅读次数:319
交叉验证的缺陷及改进(Cross Validation done wrong)
本文主要是对我们使用交叉验证可能出现的一个问题进行讨论,并提出修正方案。 本文地址:http://blog.csdn.net/shanglianlm/article/details/47207173...
分类:其他好文   时间:2015-08-02 18:19:17    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!