Search found 1 match

by syntax_error
Mon Sep 01, 2008 4:37 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 125937

Re: 10189 - Minesweeper

WA...everything seems to be right...
Help!! :)

#include <cstdio>
#include <cstring>
#define MAX 128

const int dx[] = { 0, 1, 0, -1, 1, -1, 1, -1 };
const int dy[] = { 1, 0, -1, 0, 1, -1, -1, 1 };
int m = 1, n = 1;
char map[ MAX ][ MAX ];
char v[ MAX ][ MAX ];

char chr( int x ) { return x + '0 ...

Go to advanced search