摘要:
很水的题,但是交了很多次都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 阅读全文
摘要:
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... 阅读全文