2012年3月23日
摘要: 这道题改天重新做一下:高人的代码:#include<stdio.h>#include<string.h>#include<ctype.h>#define MAXD 1010char b[10010];int N, M, G[MAXD][MAXD], f[MAXD][MAXD];void solve(){ int i, j, k; gets(b); sscanf(b, "%d%d", &N, &M); memset(G, 0, sizeof(G)); for(i = 1; i <= N; i ++) { gets(b) 阅读全文
posted @ 2012-03-23 21:12 BFP 阅读(610) 评论(0) 推荐(0)