bfs
console.log( )
吾日三省吾身:这事能不能不干、这事能不能推给别人干、这事能不能明天干。
展开
-
Rescue<hdoj1242>
Problem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to save Angel. Their task is: approach Angel.原创 2016-07-29 16:07:23 · 365 阅读 · 0 评论 -
Catch That Cow<poj3278>
DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a point原创 2016-07-29 16:10:59 · 269 阅读 · 0 评论 -
Find a way<hdoj2612>
Problem DescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a good friend Merceki.Yifen原创 2016-07-29 19:16:23 · 315 阅读 · 0 评论 -
Dungeon Master<poj2251>
DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one un原创 2016-07-29 08:49:28 · 418 阅读 · 0 评论 -
poj1383:Labyrinth
DescriptionThe northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth is divided into square blocks, each of them either filled by rock, or free. There is also原创 2016-08-02 21:41:08 · 434 阅读 · 0 评论