Search found 1 match

by fzafarani
Mon Jul 19, 2010 10:54 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 125434

Re: 10189 - Minesweeper

Can anyone help me why my code gets WA? :|

#include <iostream>
using namespace std;

int main(void) {
// ofstream cout("out.txt");
int m, n;
int fl = 1;
while (cin >> m >> n) {
char game[120][120];
char res[120][120];
if (m == 0 && n == 0)
break;
for (int i = 0; i < m; i++)
for (int j ...

Go to advanced search