POJ 2251 Dungeon Master (bfs)
摘要:
//三维迷宫 //标准的bfs #include #include #include using namespace std; struct coordinate { int x,y,z,step; }; int L,R,C; bool isvisited[31][31][31]; bool place[31][31][31]; coordinate goal; coordinate ... 阅读全文
posted @ 2010-11-19 20:45 sysuwhj 阅读(163) 评论(0) 推荐(0) 编辑