Search found 3 matches

by epidemyk
Wed Feb 04, 2004 8:39 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 65716

Nevermind

Nevermind, I figured it out...
by epidemyk
Wed Feb 04, 2004 6:04 am
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 65716

10189 Minesweeper - Compile Error

I'm not sure why this won't compile... Any advice: [c] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #define MAXSIZE 100 struct { int bombs; int count; } map[MAXSIZE][MAXSIZE]; int main(void) { int mx, my; int i, j; int count = 1; while(scanf("%d%d", &mx, &my) != EOF)...
by epidemyk
Tue Feb 03, 2004 7:08 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 77487

10038 Jolly Jumpers - Time Limit Exceeded

Time limit exceeded, not sure why... [c] #include <stdio.h> #include <math.h> int main(void) { int num; int i; int n1, n2; while(scanf("%d", &num) != EOF) { int stat[num]; int jolly = 1; int val = 0; char temp; for(i=0; i<num; i++) { stat = 0; } if (num == 1) { printf("Jolly\n"); scanf("%d", &num); ...

Go to advanced search