Search found 2 matches
- Tue Jul 23, 2013 8:14 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 124975
Re: 10189 - Minesweeper
thanks sir,you are great,brianfry sir. my code has got accepted now.
- Sun Jul 21, 2013 10:57 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 124975
Re: 10189 - Minesweeper
i can not really find out the bug,please anyone help.here is my code:
#include<stdio.h>
int main(){
char array1[105][105];
int array2[105][105],i,j,m=0,k,l,g,h;
while(scanf("%d %d",&i,&j)==2){
if(i==0 && j==0)break;
if(m)printf("\n");
m+=1;
for(k=0;k<i;k++){
for(l=0;l<j;l++){
array2[k][l ...
#include<stdio.h>
int main(){
char array1[105][105];
int array2[105][105],i,j,m=0,k,l,g,h;
while(scanf("%d %d",&i,&j)==2){
if(i==0 && j==0)break;
if(m)printf("\n");
m+=1;
for(k=0;k<i;k++){
for(l=0;l<j;l++){
array2[k][l ...