题解 1672: 迷宫问题

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

迷宫问题 (C语言代码)

摘要:解题思路:利用广搜遍历注意事项:若无路径则为-1参考代码:#include<stdio.h>char c[200][200];//创建迷宫数组int a,b;//迷宫大小int q[4][2]={-1……

迷宫问题 (C语言代码)

摘要:解题思路:采用了广度优先搜索注意事项:参考代码:#include<stdio.h>struct note { int x; int y; int step;};int main() {// freop……