摘要: #include <stdio.h>#include <string.h>int map[51][51][51];int v[51][51][51];int a,b,c,t11;struct node{ int x,y,z,ans;}q[200001];int jx[6]={0,0,0,0,-1,1 阅读全文
posted @ 2014-06-12 20:31 人艰不拆_zmc 阅读(209) 评论(0) 推荐(0) 编辑
摘要: dfs #include <stdio.h> #include <string.h> char Map[16][16]; int mv[16][16]; //mv[i][j] == 0 没有被访问 //mv[i][j] == 1 已经被访问 struct N { int x,y; } ; int j 阅读全文
posted @ 2014-06-12 19:30 人艰不拆_zmc 阅读(362) 评论(0) 推荐(0) 编辑