
----BFS
文章平均质量分 86
Jelly_acm
这个作者很懒,什么都没留下…
展开
-
HDU1459 非常可乐(BFS)
非常可乐Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 (正好装满一瓶) ,它们三个之间可以相互倒可乐原创 2016-07-24 15:00:26 · 721 阅读 · 0 评论 -
CSU1569 Wet Tiles
Wet TilesDescriptionAlice owns a construction company in the town of Norainia, famous for its unusually dry weather. In fact, it only rains a few days per year there. Because of this phenomeno原创 2017-07-30 22:26:03 · 475 阅读 · 0 评论 -
Hdu1429 胜利大逃亡(续)
胜利大逃亡(续)Time Limit : 4000/2000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 3 Accepted Submission(s) : 3Font: Times New Roman | Verdana | GeorgiaFon原创 2017-01-20 18:33:19 · 444 阅读 · 0 评论 -
Hdu428 漫步校园
漫步校园Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 32 Accepted Submission(s) : 17Font: Times New Roman | Verdana | GeorgiaFont原创 2017-01-18 17:43:01 · 636 阅读 · 0 评论 -
Hdu1401 Solitaire
SolitaireTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 10 Accepted Submission(s) : 5Font: Times New Roman | Verdana | GeorgiaF原创 2017-01-18 17:21:52 · 381 阅读 · 0 评论 -
Hdu2612 Find a way
Find a wayTime Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 48 Accepted Submission(s) : 15Font: Times New Roman | Verdana | Georgia原创 2017-01-18 14:52:48 · 401 阅读 · 0 评论 -
Hdu2102 A计划
A计划Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 76 Accepted Submission(s) : 37Font: Times New Roman | Verdana | GeorgiaFont S原创 2017-01-18 14:40:08 · 440 阅读 · 0 评论 -
Hdu1728 逃离迷宫
逃离迷宫Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 55 Accepted Submission(s) : 25Font: Times New Roman | Verdana | GeorgiaFont原创 2017-01-17 10:56:35 · 425 阅读 · 0 评论 -
Hdu1548 A strange lift
A strange liftTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 69 Accepted Submission(s) : 34Font: Times New Roman | Verdana | Georgi原创 2017-01-17 10:34:58 · 340 阅读 · 0 评论 -
Rescue HDU1242 (BFS+优先队列)
HDU1242原创 2016-05-04 22:21:31 · 419 阅读 · 0 评论 -
HDU1175 连连看(bfs)
连连看Problem Description“连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这条线不能经过其它棋子),而且线的转折次数不超过两次,那么这两个棋子就可以在棋盘上消去。不好意思,由于我以前没有玩过连连看,咨询了同学的意见,连线不能从外面绕过去的,但事实上这是错的。现在已经酿成大祸原创 2016-07-24 13:27:37 · 599 阅读 · 0 评论 -
HDU1253 胜利大逃亡(BFS)
胜利大逃亡Problem DescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡,Ignatius每分钟能从一个坐标走到原创 2016-07-24 13:41:31 · 485 阅读 · 0 评论 -
HDU1072 Nightmare(BFS)
NightmareProblem DescriptionIgnatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should get out of the labyrinth before原创 2016-07-24 14:02:16 · 331 阅读 · 0 评论 -
HDU1254 推箱子(BFS)
推箱子Problem Description推箱子是一个很经典的游戏.今天我们来玩一个简单版本.在一个M*N的房间里有一个箱子和一个搬运工,搬运工的工作就是把箱子推到指定的位置,注意,搬运工只能推箱子而不能拉箱子,因此如果箱子被推到一个角上(如图2)那么箱子就不能再被移动了,如果箱子被推到一面墙上,那么箱子只能沿着墙移动.现在给定房间的结构,箱子的位置,搬运工的位置和箱子要被推去的原创 2016-07-24 14:24:59 · 530 阅读 · 0 评论 -
HDU1372 Knight Moves(BFS)
Knight MovesProblem DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a g原创 2016-07-24 14:50:08 · 374 阅读 · 0 评论 -
POJ2251Dungeon Master
Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 35193 Accepted: 13450DescriptionYou are trapped in a 3D dungeon and need to find the quick原创 2017-07-18 23:07:22 · 318 阅读 · 0 评论