变形课Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 12773Accepted Submission(s): 4733Problem Descr...
分类:
其他好文 时间:
2014-07-09 21:02:46
阅读次数:
229
OOM_ADJ对于低内存的时候,我们总是想尽量杀掉background的app,尽量保留persist service(比如输入法),让前台app能够流畅的运行。1,background app的adj尽量设高一些,但是max和mini之前,尽量还是要保留一些差距,这样让系统可以逐步去kill进程,...
分类:
其他好文 时间:
2014-07-09 20:41:28
阅读次数:
234
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3321CircleTime Limit:1 Second Memory Limit:32768 KBYour task is so easy. I will give...
分类:
其他好文 时间:
2014-07-08 23:04:16
阅读次数:
264
One Person Game
Time Limit: 1 Second
Memory Limit: 32768 KB Special Judge
There is a very simple and interesting one-person game. You have 3 dice, namely
Die1, Die2 and Die3. Die1...
分类:
其他好文 时间:
2014-07-06 12:04:41
阅读次数:
167
Find the Marble
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Alice and Bob are playing a game. This game is played with several identical pots and one marble. When the game starts, Alice...
分类:
其他好文 时间:
2014-07-06 11:35:34
阅读次数:
133
Basic Memory Management
基础内存管理
If you're writing an application for Mac OS X, you have the option to enable garbage collection. In general, this means that you don't have to think about memory management until you get to more complex cases.
如果你正在写运行在...
分类:
其他好文 时间:
2014-07-06 00:58:44
阅读次数:
275
Activation
Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1332 Accepted Submission(s): 501
Problem Description
After 4 years' wai...
分类:
其他好文 时间:
2014-07-06 00:57:32
阅读次数:
150
Euclid's Game
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1880 Accepted Submission(s): 825
Problem Description
Two players, Stan...
分类:
其他好文 时间:
2014-07-06 00:02:49
阅读次数:
253
题目链接:
点我点我
点我点我
题目为:
Escape from Enemy Territory
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 2410
Accepted: 661
Description
A small group...
分类:
其他好文 时间:
2014-07-05 23:28:20
阅读次数:
206
递归的函数
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
给定一个函数 f(a, b, c):
如果 a ≤ 0 或 b ≤ 0 或 c ≤ 0 返回值为 1;
如果 a > 20 或 b > 20 或 c > 20 返回值为 f(20, 20, 20);//前两个条件注意,输入的时候就可以解决掉...
分类:
其他好文 时间:
2014-07-05 22:54:59
阅读次数:
359