Sedefcho, Tanzim-Saqib,
Thanks very much for the great test cases. This really helped out with testing / debugging.
694 - The Collatz Sequence
Moderator: Board moderators
Re: uva 694
Assuming you sorted out the compile issues, note that your code does not work for the following inputmahbubcseju wrote:why my code is compile error
Code: Select all
1 1
2147483647 1
1 2147483647
2 2147483647
2147483647 2
2147483647 214748364
214748364 2147483647
1 0
-3 -2
http://online-judge.uva.es/board/viewto ... &hilit=694
Look for the post by Tanzim-Saqib.