摘要: Catch That Cow Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N  阅读全文
posted @ 2018-08-10 19:48 Gaojinman 阅读(98) 评论(0) 推荐(0)
摘要: 迷宫问题 Description 定义一个二维数组: 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖着走,不能斜着走,要求编程序找出从左上角到右下角的最短路线。 Input 一个5 × 5的二维数组,表示一个迷宫。数据保证有唯一解。 Output 左上角到右下角的最短路径,格式如 阅读全文
posted @ 2018-08-10 10:06 Gaojinman 阅读(99) 评论(0) 推荐(0)