码迷,mamicode.com
首页 >  
搜索关键字:hdoj    ( 2498个结果
ACM--公式--HDOJ 1012--u Calculate e--水
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
HDOJ/HDU 1242 Rescue(经典BFS深搜)
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
HDOJ/HDU 1180 诡异的楼梯(经典BFS-详解)
Problem Description Hogwarts正式开学以后,Harry发现在Hogwarts里,某些楼梯并不是静止不动的,相反,他们每隔一分钟就变动一次方向. 比如下面的例子里,一开始楼梯在竖直方向,一分钟以后它移动到了水平方向,再过一分钟它又回到了竖直方向.Harry发现对他来说很难找到能使得他最快到达目的地的路线,这时Ron(Harry最好的朋友)告诉Harry正好有一个魔法道具可...
分类:其他好文   时间:2016-07-10 17:02:54    阅读次数:188
HDOJ-ACM1023(JAVA)
题意:输入栈的大小,输出可能的出栈顺序的个数。 这道题,如果做了1022,那就只要在上面改改就行了, 第一想法是加上全排列 结果是正确的,但是绝对会超时 验证性的实现了:(Time Limit Exceeded) 做了2021,题中有个(n<1000000),和这道题一样(The result wi ...
分类:编程语言   时间:2016-07-08 16:35:51    阅读次数:206
HDOJ/HDU 1241 Oil Deposits(经典DFS)
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
HDOJ/HDU Tempter of the Bone(深搜+奇偶性剪枝)
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
HDOJ 1003
...
分类:其他好文   时间:2016-07-04 15:23:30    阅读次数:123
HDOJ 1002
...
分类:其他好文   时间:2016-07-02 10:25:09    阅读次数:210
HDOJ/HDU 1085 Holding Bin-Laden Captive!(非母函数求解)
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
HDOJ-1100 Trees made to order
一、题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1100二、题目分析 对二叉树的所有形态顺序编号,编号规则是:节点数越多的编号越大;节点数相等,左子树节点数越多的越大;节点数相等,左子树节点数也相等,则依此规则比较右子树。 现给定一个正整数,依题目要 ...
分类:其他好文   时间:2016-06-26 12:52:34    阅读次数:341
2498条   上一页 1 ... 45 46 47 48 49 ... 250 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!