Got it to work finally, extended my arrays an extra element and VOILA!! It works, thanks for the hints
Search found 18 matches
- Sat Oct 11, 2003 8:46 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 93257
- Sat Oct 11, 2003 2:59 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 93257
Still wrong answer
[cpp]#include <iostream> // for input and output #include <numeric> // for adjacent_iterator #include <vector> // for vectors #include <list> // for list #include <cmath> // for abs //#define DEBUG using namespace std; bool jumper(int *, int); bool linear(int*, int, int); bool jumper(int *c, int siz...
- Fri Oct 10, 2003 8:57 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 93257
10038 Wrong Answer, WHY?
I don't understand why this isn't working at least insofar as the wrong answer aspect [cpp] #include <iostream> // for input and output #include <numeric> // for adjacent_iterator #include <vector> // for vectors #include <list> // for list #include <cmath> // for abs using namespace std; bool jumpe...