水题,就是要求在三维迷宫里找到最短路 #include <iostream> #include <string.h> #include <algorithm> #include <stdio.h> #include <queue> using namespace std; const int INF=1000000; char maze[35][35][35]; int n,m,k; int sy,sx,sz; int ex,ey,ez; int d[35][35][35]; int to[6][3] = {{0,0,1},{0,0,...