equal
deleted
inserted
replaced
1 import C1._ |
|
2 |
1 |
3 assert(collatz_max(10) == (19, 9)) |
2 def urbanmain() = { |
4 assert(collatz_max(100) == (118, 97)) |
3 |
5 assert(collatz_max(1000) == (178, 871)) |
4 import C1._ |
6 assert(collatz_max(10000) == (261, 6171)) |
5 |
7 assert(collatz_max(100000) == (350, 77031)) |
6 assert(collatz_max(10) == (19, 9)) |
8 assert(collatz_max(1000000) == (524, 837799)) |
7 assert(collatz_max(100) == (118, 97)) |
|
8 assert(collatz_max(1000) == (178, 871)) |
|
9 assert(collatz_max(10000) == (261, 6171)) |
|
10 assert(collatz_max(100000) == (350, 77031)) |
|
11 assert(collatz_max(1000000) == (524, 837799)) |
|
12 } |