B - Symmetric Order(3.3.1)
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
In your job at Albatross Circus Management (yes, it'...
分类:
其他好文 时间:
2014-07-15 22:43:34
阅读次数:
318
Balance
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 10241
Accepted: 6330
Description
Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:
其他好文 时间:
2014-07-15 22:42:22
阅读次数:
272
A - ACfun
Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)
SubmitStatus
Problem Description
题目链接点击打开链接
As a former ACMer, "AC" is a special abbreviated wor...
分类:
其他好文 时间:
2014-07-15 22:41:45
阅读次数:
235
H - Gold Coins(2.4.1)
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
The king pays his loyal knight in gold coins. On the first ...
分类:
其他好文 时间:
2014-07-15 13:14:28
阅读次数:
275
小希的迷宫
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 25010 Accepted Submission(s): 7683
Problem Description
上次Gardon的迷宫...
分类:
其他好文 时间:
2014-07-15 13:13:12
阅读次数:
341
E - Speed Limit(2.1.1)
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
Bill and Ted are taking a road trip. But the odometer in t...
分类:
其他好文 时间:
2014-07-15 12:42:21
阅读次数:
282
10、循环结构循环结构awk的while循环结构,它等同于相应的C语言while
循环。awk还有"do...while"循环,它在代码块结尾处对条件求值,而不象标准while
循环那样在开始处求值。它类似于其它语言中的"repeat...until"循环。示例:do...while示例{count=1do{print"Igetprintedatlea..
分类:
其他好文 时间:
2014-07-15 12:03:55
阅读次数:
332
shell字符串比较、判断是否为数字
二元比较操作符,比较变量或者比较数字。注意数字与字符串的区别。
整数比较
-eq等于,如:if["$a"-eq"$b"]
-ne
不等于,如:if["$a"-ne"$b"]
-gt大于,如:if["$a"-gt"$b"]
-ge大于等于,如:if[
"$a"-ge"$b"]
-lt小于,如:if["$a"-lt"$b"]
-le小于..
分类:
系统相关 时间:
2014-07-15 12:02:40
阅读次数:
282
1、使用规则
awk适合于文本处理和报表生成,它还有许多精心设计的特性,允许进行需要特殊技巧程序设计。
awk
的语法较为常见。它借鉴了某些语言的一些精华部分,如C语言、python和bash。
第一个awk
让我们继续,开始使用awk,以了解其工作原理。在命令行中输入以下命令:
$awk‘..
分类:
其他好文 时间:
2014-07-15 11:39:54
阅读次数:
323
A - Red and Black(3.2.1)
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
There is a rectangular room, covered with square tiles...
分类:
其他好文 时间:
2014-07-15 10:28:09
阅读次数:
229