bfs走出迷宫
#include <iostream>#include <queue> using namespace std;struct node{ int x,y,step;};queue<node> Q;int m,n;const int maxn=200;char map[maxn][maxn];bool book[maxn][maxn]={false};int ne...
原创
2018-03-26 14:20:51 ·
196 阅读 ·
0 评论