搜索
发型睡姿决定
越努力,越幸运
展开
-
Dungeon Master POJ - 2251(bfs搜索)
You 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 unit north, south...原创 2019-10-08 23:40:18 · 142 阅读 · 0 评论 -
Catch That Cow POJ - 3278(一维bfs)
Farmer 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 K (0 ≤ K ≤ 100,0...原创 2019-10-09 23:18:08 · 154 阅读 · 0 评论