码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
UVA - 12294 RPG battles
Description   RPG battles  In many typical RPG games, you battle with bad guys, creatures, monsters or ghosts etc. all the time. After each battle, you may get magic potions th...
分类:其他好文   时间:2014-08-16 13:51:30    阅读次数:245
poj 2352 Stars
Stars Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 32548   Accepted: 14221 Description Astronomers often examine star maps where stars are represented b...
分类:其他好文   时间:2014-08-16 13:51:10    阅读次数:263
$#,$?,$!等说明
变量说明: $$ Shell本身的PID(ProcessID) $! Shell最后运行的后台Process的PID $? 最后运行的命令的结束代码(返回值) $- 使用Set命令设定的Flag一览 $* 所有参数列表。如"$*"用「"」括起来的情况、以"$1 $2 … $n"的形式输出所有参数。 $@ 所有参数列表。如"$@"用「"」括起来的情况、以"$1" "$2" …...
分类:其他好文   时间:2014-08-16 12:38:10    阅读次数:184
Shell学习之: 脚本之间的调用
在Java,Python中,可以用import的方式来进行脚本或模块之间调用,例如: >>> import math >>> math.sqrt(4) 2.0 在Shell中要如何调用别的shell脚本,或别的脚本中的变量,函数呢? 方法一: . ./subscript.sh 方法二: source ./subscript.sh 注意: 两个点之间,有空格,千万注意. 两个脚本不在同一目录,要用绝对路径 例如: main.sh #主脚本 subcripts.sh ...
分类:其他好文   时间:2014-08-16 12:34:40    阅读次数:176
IP判断
IP判断 Time Limit:10000MS  Memory Limit:65536K Total Submit:169 Accepted:66 Description 在基于Internet的程序中,我们常常需要判断一个IP字符串的合法性。  合法的IP是这样的形式:  A.B.C.D  其中A、B、C、D均为位于[0, 255]中的整数。为了简单起见,我们规定这四个整数中不允许...
分类:其他好文   时间:2014-08-16 11:13:24    阅读次数:704
poj 1459 Power Network (dinic)
Power Network Time Limit: 2000MS   Memory Limit: 32768K Total Submissions: 23059   Accepted: 12072 Description A power network consists of nodes (power stations, consum...
分类:Web程序   时间:2014-08-16 11:12:50    阅读次数:225
POJ1201 Intervals 【差分约束系统】
Intervals Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 21591   Accepted: 8122 Description You are given n closed, integer intervals [ai, bi] and n integ...
分类:其他好文   时间:2014-08-16 11:11:46    阅读次数:323
BeagleBone Black板第八课:建立Eclipse编程环境
BBB板第八课:建立Eclipse编程环境 最近新建了一个编程环境,感觉到非常方便,分享给大家。之前除了在BBB板远程桌面直接编写shell脚本或C程序外,通过Debain 7.5系统下使用编辑软件也试过,写完程序还是转存到BBB板编译,反正觉得挺麻烦。不熟悉linux是个原因,但没汉化的软件更是个问题。最后重新回来熟悉的XP的环境,根据网上一些点子,安装Eclipse C/C++,没想到用过后...
分类:系统相关   时间:2014-08-16 11:10:40    阅读次数:291
BZOJ3196: Tyvj 1730 二逼平衡树
3196: Tyvj 1730 二逼平衡树Time Limit:10 SecMemory Limit:128 MBSubmit:775Solved:316[Submit][Status]Description您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作:1.查询k...
分类:其他好文   时间:2014-08-16 11:06:30    阅读次数:191
BNUOJ 23905 滑雪
滑雪Time Limit: 1000msMemory Limit: 65536KBThis problem will be judged onUESTC. Original ID:130964-bit integer IO format:%lld Java class name:MainMichae...
分类:其他好文   时间:2014-08-16 11:00:40    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!