胜利大逃亡
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 24937 Accepted Submission(s): 9535
Problem Description
Ignatius被魔王抓走了,有一天魔...
分类:
其他好文 时间:
2014-07-26 15:17:10
阅读次数:
305
f(n) 为n个格子的方法数目,
假设第n-1个格子的颜色跟第1个相同,那f(n) = 2×f(n-2); 因为第n-1个格子颜色已确定,第n个格子可以涂的颜色有两种,故为2×f(n-2);
第n-1个格子的颜色跟第1个不相同时,f(n) = f(n-1);
所以动态方程为f(n) = f(n-1)+2×f(n-2);
不容易系列之(3)—— LELE的RPG难题
Time ...
分类:
其他好文 时间:
2014-07-26 15:14:00
阅读次数:
198
dp果然不是好学的。。。
第n个,即2*n时,可由第n-1个的竖直排列再加一个,和第n-2个中横着排两个
所以f(n) = 1×f(n-1) + 1×f(n-2);
骨牌铺方格
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s...
分类:
其他好文 时间:
2014-07-26 15:13:40
阅读次数:
213
/*
放大的X
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 8866 Accepted Submission(s): 2678
Problem Description
请你编程画一个放大的’X’。
如3*3的’X...
分类:
其他好文 时间:
2014-07-26 15:12:30
阅读次数:
234
A - 卡特兰数
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
This is a small but ancient game. You are supposed to write down the num...
分类:
其他好文 时间:
2014-07-26 15:07:50
阅读次数:
216
取(m堆)石子游戏
Time Limit: 3000/1000 MS (Java/Others) Memory Limit:
32768/32768 K (Java/Others)
Problem Description
...
分类:
其他好文 时间:
2014-07-26 15:02:58
阅读次数:
151
Big Event in HDU
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 22835 Accepted Submission(s): 8018
Problem Description
Nowaday...
分类:
其他好文 时间:
2014-07-26 15:01:41
阅读次数:
230
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2014-07-26 14:30:11
阅读次数:
156
scientific linux 6.x 不再支援 chrome,連上 google 網站直接下載 chrome 的 rpm 檔案裝,會顯示缺少相依性套件,就算安裝了這些缺的套件,還是會再顯示缺其它套件,陷入一個無窮迴圈! 於是有人寫了安裝 chrome 的 shell script,真是佛心來著!...
分类:
系统相关 时间:
2014-07-26 14:11:45
阅读次数:
597
To Learn something you need to do it, without the fear of being unsuccessful. I believe in practicality and hence will be accompanying you to the prac...
分类:
系统相关 时间:
2014-07-26 14:09:15
阅读次数:
492