Search found 1 match

by mnjpomme
Tue Feb 17, 2015 2:12 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 69081

I am experiencing WA for this code

Could you please point out what kind of consideration is needed for this minesweeper case ? #include <stdio.h> #define MAX_NUM 100 #define STAR 777 int answer[100][100]; int subset[8][2] = { {-1, -1}, {-1, 0}, {-1, 1}, {0, -1}, {0, 1}, {1, -1}, {1, 0}, {1, 1} }; int N, M; void increase_adjacent_fiel...

Go to advanced search