最近遇到两起Linux的内存问题,其一是触发了oom-killer导致系统挂 1. 首先确认该系统的版本是32位 ? #uname -a Linux alarm 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 ? #u ...
分类:
系统相关 时间:
2017-08-18 17:17:33
阅读次数:
498
Farmer John是一个令人惊讶的会计学天才,他已经明白了他可能会花光他的钱,这些钱本来是要维持农场每个月的正常运转的。他已经计算了他以后 N(1<=N<=100,000)个工作日中每一天的花费moneyi(1<=moneyi<=10,000),他想要为他连续 的M(1<=M<=N)个被叫做“清 ...
分类:
其他好文 时间:
2017-08-17 10:27:40
阅读次数:
169
f[x]表示组成 x 最少需要的邮票数量 一一举例 最多贴5张邮票,有三种邮票可用,分别是1分,3分,8分 组成0分需要0张邮票 ——f[0]=0 组成1分需要在0分的基础上加上一张1分邮票 ——f[1]= f[0]+1 =1 (单位:张) 组成2分需要在1分的基础上加上一张1分邮票 ——f[2]= ...
分类:
其他好文 时间:
2017-08-17 00:52:07
阅读次数:
155
题目描述 奶牛们又一次试图创建一家创业公司,还是没有从过去的经验中吸取教训--牛是可怕的管理者! 为了方便,把奶牛从 1 \cdots N(1 \leq N \leq 100, 000)1?N(1≤N≤100,000) 编号,把公司组织成一棵树,1 号奶牛作为总裁(这棵树的根节点)。除了总裁以外的每 ...
分类:
其他好文 时间:
2017-08-15 15:57:32
阅读次数:
187
Description Air Bovinia operates flights connecting the N farms that the cows live on (1 <= N <= 20,000). As with any airline, K of these farms have b ...
分类:
其他好文 时间:
2017-08-15 15:12:50
阅读次数:
256
Farmer John went to cut some wood and left N (2 ≤ N ≤ 100,000) cows eating the grass, as usual. When he returned, he found to his horror that the clus ...
分类:
其他好文 时间:
2017-08-14 16:40:25
阅读次数:
147
4919 线段树练习4 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题解 查看运行结果 4919 线段树练习4 4919 线段树练习4 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 1 s 空间限制: 128000 ...
分类:
其他好文 时间:
2017-08-14 16:34:35
阅读次数:
127
You are given a 2D board where in some cells there are gold. You want to fill the board with 2 x 1 dominoes such that all gold are covered. You may us ...
分类:
其他好文 时间:
2017-08-13 15:10:36
阅读次数:
141
3315: [Usaco2013 Nov]Pogo-Cow Description In an ill-conceived attempt to enhance the mobility of his prize cow Bessie, Farmer John has attached a pogo ...
分类:
其他好文 时间:
2017-08-13 13:34:32
阅读次数:
148
3369 膜拜 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 3369 膜拜 3369 膜拜 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 1 s 时间限制: 1 s 空间限制: 128000 KB 空间限制: 12 ...
分类:
其他好文 时间:
2017-08-13 12:21:22
阅读次数:
200