码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
poj 1703 Find them, Catch them
Find them, Catch them Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 31412   Accepted: 9677 Description The police office in Tadu City decides to say ends...
分类:其他好文   时间:2014-08-12 13:38:04    阅读次数:255
poj 1061 青蛙的约会
青蛙的约会 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 90251 Accepted: 16393 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面...
分类:其他好文   时间:2014-08-12 13:34:34    阅读次数:163
win8.1桌面上快捷方式的箭头
删除reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg...
分类:Windows程序   时间:2014-08-12 13:29:34    阅读次数:286
Shell编程中shift的用法
位置参数可以用shift命令左移。比如shift 3表示原来的$4现在变成$1,原来的$5现在变成$2等等,原来的$1、$2、$3丢弃,$0不移动。不带参数的shift命令相当于shift 1。非常有用的 Unix 命令:shift。我们知道,对于位置变量或命令行参数,其个数必须是确定的,或者当 S...
分类:其他好文   时间:2014-08-12 13:26:44    阅读次数:143
Linux中shell变量的含义
$# 是传给脚本的参数个数 $0 是脚本本身的名字 $1 是传递给该shell脚本的第一个参数 $2 是传递给该shell脚本的第二个参数 $@ 是传给脚本的所有参数的列表 $* 是以一个单字符串显示所有向脚本传递的参数,与位置变量不同,参数可超过9个 $$ 是脚本运行的当前进程ID...
分类:系统相关   时间:2014-08-12 13:12:54    阅读次数:228
python中如何使用shell命令, 及python 与shell 中的变量相互通信
1. python中使用shell命令有多种方法,我自己觉得比较好用的是用commands模块:import commandsa,b = commands.getstatusoutput("ls -Al")a是退出状态(int类型), b是shell 命令的输出结果python -> shell:1...
分类:编程语言   时间:2014-08-12 13:11:34    阅读次数:228
Hadoop集群内存过高,HDFS存储慢
2014-08-12HDFS存储过慢,内存过高而且不释放网络方面:使用 netstat-n |awk'/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' 查看网络情况:情况如下: CLOSE_WAIT 102 FIN_WAIT2 2 ESTABLIS...
分类:其他好文   时间:2014-08-12 13:07:14    阅读次数:601
hdu 2084
//Time Limit Exceeded#include #define N 105 #includeusing namespace std;int a[N][N];int n;int max(int x, int y){ return x>y?x:y ; }int maxsum(int i,i....
分类:其他好文   时间:2014-08-12 12:54:44    阅读次数:169
HDU 1010 Tempter of the Bone(DFS+奇偶性剪枝)
Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 70665    Accepted Submission(s): 19487 Problem Description The...
分类:其他好文   时间:2014-08-12 10:27:33    阅读次数:184
HDOJ 4915 Parenthese sequence
Parenthese sequence Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 716    Accepted Submission(s): 335 Problem Description bobo f...
分类:其他好文   时间:2014-08-12 10:23:23    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!