摘要: 题目链接纠结中,DFS统计写错了,到最后也没对拍出数据cha了,看了一下别人的写法,过了。 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <queue> 5 #include <iostream> 6 using namespace std; 7 char p[51][51]; 8 int o[51][51],n,m,sr,sc,er,ec,num,z; 9 int a[4] = {-1,0,1,0}; 10 int b[4] = {0,1 阅读全文
posted @ 2012-11-28 16:21 Naix_x 阅读(142) 评论(0) 推荐(0) 编辑