QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#386743#7613. Inverse Problemucup-team150#TL 1ms3588kbC++235.6kb2024-04-11 19:47:402024-04-11 19:47:41

详细

Test #1:

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

input:

4
2
360
1
509949433

output:

2
1 2
5
1 2
3 1
4 1
5 2
1
10
1 2
2 3
3 4
4 5
5 6
6 7
7 8
9 1
10 8

result:

ok OK (4 test cases)

Test #2:

score: -100
Time Limit Exceeded

input:

9
185396120
468170792
837583517
696626231
338497514
762842660
800028852
928391161
733524004

output:


result: