广搜
黑码
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu 1180(广搜升阶)诡异的楼梯
Hogwarts正式开学以后,Harry发现在Hogwarts里,某些楼梯并不是静止不动的,相反,他们每隔一分钟就变动一次方向. 比如下面的例子里,一开始楼梯在竖直方向,一分钟以后它移动到了水平方向,再过一分钟它又回到了竖直方向.Harry发现对他来说很难找到能使得他最快到达目的地的路线,这时Ron(Harry最好的朋友)告诉Harry正好有一个魔法道具可以帮助他寻找这样的路线,而那个魔法道具上原创 2016-12-18 14:58:10 · 374 阅读 · 0 评论 -
hdu 3345 War chess(bfs)
War chess is hh’s favorite game: In this game, there is an N * M battle map, and every player has his own Moving Val (MV). In each round, every player can move in four directions as long as he has en原创 2017-01-25 15:54:11 · 692 阅读 · 0 评论 -
poj 3126 prime path(bfs)
The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices. — It is a matter of se原创 2017-01-25 16:15:28 · 413 阅读 · 0 评论 -
hdu 1495 非常可乐(bfs)
大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 (正好装满一瓶) ,它们三个之间可以相互倒可乐 (都是没有刻度的,且 S==N+M,101>S>0,N>原创 2017-01-25 16:17:17 · 351 阅读 · 0 评论 -
hdu 3533 secape
转自:http://blog.youkuaiyun.com/libin56842/article/details/41909459Problem Description The students of the HEU are maneuvering for their military training. The red army and the blue army are at war today. Th转载 2017-01-25 16:23:23 · 603 阅读 · 0 评论 -
codeforces Igor and his way to work
B. Igor and his way to work time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Woken up by the alarm clock Igor the financial analyst hurried原创 2017-04-24 12:09:39 · 1024 阅读 · 2 评论 -
uvalive 5008 hdu 3717 double maze 四维bfs(好题)
A maze is made up of 6 6 cells. A cell can be either a hole or a square. Moreover, a cell may be surrounded by barriers. There is ONLY one start cell (with a ball) and ONLY one end cell (with a star原创 2017-04-21 08:55:39 · 633 阅读 · 0 评论
分享