Search found 4 matches
- Mon Jun 26, 2006 2:50 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 153722
- Sun Jun 25, 2006 1:05 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 153722
10038 Program Crashes
I keep getting WA even though I've checked multiple inputs/outputs that match mine. However, for some reason my program crashes for this particular input that I got from an older thread. I'm wondering if this is my problem and if anyone can help me with it. My code is pasted below. (I also wasn't ...
- Fri Jun 23, 2006 2:08 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 153722
Thank you for your reply, but I don't quite understand it. I don't know what you mean by sorting my number. I also don't understand the need of sorting anything. The part of my code that deals with arrays basically checks if any differences in the sequence repeats and if so, it's not jolly. Thanks ...
- Fri Jun 23, 2006 4:46 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 153722
10038 Evil WA
I've tried a number of test cases, many from the forum and my program matches all the outputs, but I still get wrong answer. Can anyone help? Thanks.
#ifdef ONLINE_JUDGE
#define NDEBUG
#endif
#include<iostream>
#include <cassert>
#include <cstdio>
#include<cmath>
#include <algorithm>
using ...
#ifdef ONLINE_JUDGE
#define NDEBUG
#endif
#include<iostream>
#include <cassert>
#include <cstdio>
#include<cmath>
#include <algorithm>
using ...