ZOJ 2412 Farm Irrigation
摘要:
题目描述:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1412#include <iostream>#include <cstring>#include <cstdio>using namespace std;const int maxn=50;int r[4]= {0,-1,0,1},c[4]= {1,0,-1,0};int A[3*maxn+10][3*maxn+10],ch[11][3][3];int ind[maxn+10][maxn+10];char s[maxn+10][m 阅读全文
posted @ 2011-09-22 21:47 _Clarence 阅读(126) 评论(0) 推荐(0) 编辑