摘要:
六个方向广搜...先是knowledgetime的代码,我写了一遍能A、、、#include <stdio.h>#include <string.h>#define Msize 29800typedef struct Dungeon{ int x,y,z,d;};const int step[10][3]={{-1,0,0},{1,0,0},{0,-1,0},{0,1,0},{0,0,-1},{0,0,1}};Dungeon q[Msize]={0};int L,R,C,mat[40][40][40]={0},mins;bool vis[40][40][40]={fal 阅读全文
posted @ 2011-12-16 13:08
找回失去的
阅读(315)
评论(0)
推荐(0)
浙公网安备 33010602011771号