zrq495
www.zrq495.com
摘要: 很水的题,但是交了很多次都WA了,纠结啊。后来把输入输出格式该了才对。。。。The ProblemHave you ever played Minesweeper? It's a cute little game which comes within a certain Operating System which name we can't really remember. Well, the goal of the game is to find where are all the mines within a MxN field. To help you, the gam 阅读全文
posted @ 2012-05-19 20:08 zrq495 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int n, m, count, max, i, j; 5 while(scanf("%d%d", &n, &m)!=EOF) 6 { 7 printf("%d %d ", n, m); 8 max=1; 9 if (n > m)10 {11 n=n+m;12 m=n-m;13 n=n-m;14 }15 for (i=n; i... 阅读全文
posted @ 2012-05-19 11:02 zrq495 阅读(148) 评论(0) 推荐(0) 编辑