2018年9月7日

TOJ 1335 营救天使(BFS+优先队列)

摘要: 描述 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, 阅读全文

posted @ 2018-09-07 15:30 _mmq 阅读(474) 评论(0) 推荐(0)

TOJ 1333 Asteroids! (三维bfs)

摘要: 描述 You're in space.You want to get home.There are asteroids.You don't want to hit them. You're in space.You want to get home.There are asteroids.You d 阅读全文

posted @ 2018-09-07 15:04 _mmq 阅读(222) 评论(0) 推荐(0)

TOJ 1221 Tempter of the Bone (DFS 奇偶剪枝)

摘要: 描述 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 coul 阅读全文

posted @ 2018-09-07 14:57 _mmq 阅读(163) 评论(0) 推荐(0)

TOJ 1162 Fire Net(dfs)

摘要: Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a 阅读全文

posted @ 2018-09-07 14:37 _mmq 阅读(167) 评论(0) 推荐(0)

导航