Search found 2 matches

by Dao007forever
Fri Sep 21, 2007 6:57 pm
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 47366

Compilation error??

I have my program compiled on Dev-C++.
But it keeps saying 'compilation error' on UVA. What can it be??
by Dao007forever
Thu Sep 13, 2007 8:18 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 125873

Sorry, but I still stuck??

#include <cstdio>

#define MAX 110
#define FIN "Mine.in"
#define FOU "Mine.ou"
#define DEBUG 0

int a[MAX][MAX],b[MAX][MAX];
int m,n;

int main()
{
if (DEBUG)
{
freopen(FIN,"r",stdin);
freopen(FOU,"w",stdout);
}
int count=0;
char c;
while (1)
{
scanf("%d%d",&m ...

Go to advanced search