A.Jelly (简单BFS&三维) 思路:板子题。具体看代码。 AC代码: #include<bits/stdc++.h> using namespace std; const int N=1e2+5; int n,d[6][3]={1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1}; char mp[N][N][N]; int a[N][N][N]; struct p{ int x,y,z; }s,e; #define jg(x,y,z) (x>=0&&x<n&&y>=0&&y...