Search found 1 match

by kunalghosh
Sun Apr 26, 2009 1:08 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 124945

Need help with WA in 10189 - Minesweeper


#include<iostream>
int const SIZE=110;
class matrix{
char field[SIZE][SIZE];
int row,col;
matrix *link;

public:
matrix(){
row=col=0;
link=NULL;
}
void set_row_col(int r,int c){
row=r;col=c;link=NULL;
}
matrix* ret_link(){
return(link);
}
void process_field(){
for(int i=0;i<row;i ...

Go to advanced search