HDU - 1072 Nightmare_hdu-1072-CSDN博客

网站介绍:#include <iostream>#include <queue>using namespace std;int tt,n,m;int Map[10][10];int dx[4]= {1,-1,0,0};int dy[4]= {0,0,1,-1};struct node{ int x,y; int step; int t;} pose;void bfs(){ queue<node>q; ..._hdu-1072