Uva 1600 - Patrol Robot (BFS)
题目链接 https://vjudge.net/problem/UVA-1600Sample Input 3 2 5 0 0 1 0 0 0 0 0 0 1 0 4 6 1 0 1 1 0 0 0 0 0 1 0 1 1 0 1 1 1 1 0 0 1 1 1 0 0 2 2 0 0 1 1 0 Sample Output 7 10 -1 【题意】机器人走迷宫,求最短路径,0是空地,1是障碍物,...