Search found 3 matches

by johnrz86
Thu Dec 02, 2004 10:28 pm
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 29999

Ah, thank you!

John
by johnrz86
Wed Nov 10, 2004 1:42 am
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 29999

I tried that too...

I tried to solve it that way too. But for some reason, my code still wouldn't work. I've tried every test case I can think of without noticing anything wrong. [c] #include <stdio.h> #include <string.h> int main() { int i, n, sh, sm, eh, em, start, flag, count, max, day=1; int schedule[1100]; char li...
by johnrz86
Tue Nov 02, 2004 9:02 pm
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 29999

10191

Hey all, Could someone please provide some sample input/output for 10191 (Longest Nap)? It seems like such a simple problem but I keep getting WA, and it's driving me up the wall!!! Here is my code... [c] #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { int start; int end;...

Go to advanced search