摘要: #include <cstdio>#include <cstring>#include <algorithm>using namespace std;const int dx[]={0,1,-1,0};const int dy[]={1,0,0,-1};const int maxn = 25;bool vis[maxn][maxn];char str[maxn][maxn];int n,m;bool ok(int x,int y){ if(x>=0&&x<m&&y>=0&&y<n& 阅读全文
posted @ 2013-03-30 00:06 M_cag 阅读(146) 评论(0) 推荐(0)