Search found 1 match

by Majedul
Mon Aug 29, 2016 1:17 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 77006

Re: 10189 - Minesweeper

why i get wrong answer .. my code::: #include<bits/stdc++.h> using namespace std; int main() { int n,m,f; int cnt=0; while(cin>>n>>m) { char a[100][100]; int b[100][100]= {0}; if(n==0 && m==0) break; for(int i=0; i<n; i++) for(int j=0; j<m; j++) cin>>a [j]; for(int i=0; i<n; i++) { for(int j=0; j<m;...

Go to advanced search