QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#378526#8569. Generalized Collatz Conjectureucup-team0520#TL 1ms4012kbC++232.1kb2024-04-06 13:25:122024-04-06 13:25:13

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 4012kb

input:

2
84 2 3 6
18588 3 18 25 44

output:

3
4

result:

ok 2 tokens

Test #2:

score: -100
Time Limit Exceeded

input:

262144
1576395 1 37
1190799 2 11 17
520479 1 29
1676079 1 49
1202944 2 41 47
1906335 2 25 47
1862541 1 47
1879366 1 19
1225773 1 17
1819737 1 59
205155 1 53
1498304 1 61
818565 1 43
1482543 2 41 61
228771 1 59
758241 2 11 23
815056 1 59
576153 1 53
458541 1 35
950211 2 5 29
1495625 1 53
1962415 1 59...

output:

5
5
5
5
5
5
5
5
5
5
5
5
6
6
5
5
6
6
6
5
5
5
5
6
5
5
5
5
5
5
5
5
6
5
6
5
5
5
5
5
5
3
5
5
5
5
5
5
6
5
5
5
5
6
5
6
5
5
5
5
6
5
5
5
6
6
5
5
5
5
5
5
5
5
6
5
5
5
5
5
5
6
5
5
5
5
6
5
5
5
6
6
6
6
6
5
5
5
5
5
5
5
5
5
6
5
5
6
5
5
5
5
5
5
6
5
5
5
5
5
5
5
5
5
5
5
5
6
5
5
5
5
5
5
5
5
5
5
6
5
5
5
5
5
5
5
5
5
5
5
...

result: