Problem ID: 100

Hello there and welcome to uDebug!

If you're solving 100 - The 3n + 1 Problem and clicked on "Debug" on UVa Online Judge and landed up on this page, we're very excited to have you. On uDebug, you can select a problem you’ve coded up a solution for, provide your input, and get the accepted (correct) output.

Check out the following video for more details.

If you need help on solving the problem refer to the hints section.