HDOJ题目地址:传送门
u Calculate e
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 41480 Accepted Submission(s): 18881
Probl...
分类:
其他好文 时间:
2016-07-11 17:19:33
阅读次数:
153
Problem Description
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Angel’s...
分类:
其他好文 时间:
2016-07-10 18:30:32
阅读次数:
174
Problem Description
Hogwarts正式开学以后,Harry发现在Hogwarts里,某些楼梯并不是静止不动的,相反,他们每隔一分钟就变动一次方向.
比如下面的例子里,一开始楼梯在竖直方向,一分钟以后它移动到了水平方向,再过一分钟它又回到了竖直方向.Harry发现对他来说很难找到能使得他最快到达目的地的路线,这时Ron(Harry最好的朋友)告诉Harry正好有一个魔法道具可...
分类:
其他好文 时间:
2016-07-10 17:02:54
阅读次数:
188
题意:输入栈的大小,输出可能的出栈顺序的个数。 这道题,如果做了1022,那就只要在上面改改就行了, 第一想法是加上全排列 结果是正确的,但是绝对会超时 验证性的实现了:(Time Limit Exceeded) 做了2021,题中有个(n<1000000),和这道题一样(The result wi ...
分类:
编程语言 时间:
2016-07-08 16:35:51
阅读次数:
206
Problem Description
The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a...
分类:
其他好文 时间:
2016-07-06 15:07:36
阅读次数:
132
Problem Description
The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He rea...
分类:
其他好文 时间:
2016-07-04 15:40:44
阅读次数:
181
Problem Description
We all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he hides in Hang Zhou of China!
“Oh, God! How terri...
分类:
其他好文 时间:
2016-06-26 18:33:03
阅读次数:
180
一、题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1100二、题目分析 对二叉树的所有形态顺序编号,编号规则是:节点数越多的编号越大;节点数相等,左子树节点数越多的越大;节点数相等,左子树节点数也相等,则依此规则比较右子树。 现给定一个正整数,依题目要 ...
分类:
其他好文 时间:
2016-06-26 12:52:34
阅读次数:
341