equal
deleted
inserted
replaced
1 |
1 |
2 |
2 |
3 assert(collatz(1) == 0) |
3 assert(collatz(1) == 0) |
4 assert(collatz(6) == 8) |
4 assert(collatz(6) == 9) |
5 assert(collatz(9) == 19) |
5 assert(collatz(9) == 19) |
6 assert(collatz(9000) == 47) |
6 assert(collatz(9000) == 47) |
7 |
7 |
8 |
8 |
|
9 System.exit(4) |
|
10 |