摘要: #include<string.h>#include<stdio.h>int a,b,c,pos[52][52][52];struct POS{ int x,y,z;} q[125110];int bfs(){ int s,e,i; struct POS temp,t; int jx[] = {0,0,0,0,1,-1}; int jy[] = {0,0,-1,1,0,0}; int jz[] = {-1,1,0,0,0,0}; s = e = 0; q[e].x = q[e].y = q[e].z = 0; e++; while(s... 阅读全文
posted @ 2013-02-25 19:04 好小孩 阅读(186) 评论(0) 推荐(0)