694 - The Collatz Sequence

All about problems in Volume 6. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: 694 - The Collatz Sequence

Post by uDebug »

Sedefcho, Tanzim-Saqib,

Thanks very much for the great test cases. This really helped out with testing / debugging.
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.
uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: uva 694

Post by uDebug »

mahbubcseju wrote:why my code is compile error
Assuming you sorted out the compile issues, note that your code does not work for the following input

Code: Select all

1 1
2147483647 1
1 2147483647
2 2147483647
2147483647 2
2147483647 214748364
214748364 2147483647
1 0
-3 -2
The AC output may be found on the bigger thread here

http://online-judge.uva.es/board/viewto ... &hilit=694

Look for the post by Tanzim-Saqib.
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.
Post Reply

Return to “Volume 6 (600-699)”