
Search found 2 matches
- Wed Nov 28, 2012 10:00 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
Re: If you get WA in problem 100, read me before post!
Nevermind, I simply wasn't returning 0. It works 

- Tue Nov 27, 2012 9:45 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
Re: If you get WA in problem 100, read me before post!
My answer to problem 100 is pasted here on ideaone .
As you can see from the input and output, the program works as expected.
However, using the online judge I get "runtime error."
What is the problem?
Edit:
Ok, based on reading some previous posts I have made my program handle reversed ranges ...
As you can see from the input and output, the program works as expected.
However, using the online judge I get "runtime error."
What is the problem?
Edit:
Ok, based on reading some previous posts I have made my program handle reversed ranges ...