HDU - 3345 War Chess(优先队列+BFS)

两年前的坑如今补上,广搜,把点加入优先队列里spa #include <stdio.h> #include <string.h> #include <queue> using namespace std; int n,m,total; char mp[108][108],ans[108][108]; int vis[108][108]; int to[4][2] = {1,0,0,1,-1,0,0
相关文章
相关标签/搜索