QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#422138#7613. Inverse Problemucup-team3057#TL 1ms3712kbC++175.7kb2024-05-26 20:37:502024-05-26 20:37:50

詳細信息

Test #1:

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

input:

4
2
360
1
509949433

output:

2
2 1
5
2 1
3 1
4 1
5 2
1
10
2 1
3 1
4 2
5 3
6 4
7 5
8 6
9 7
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:

14
2 1
3 1
4 1
5 2
6 2
7 3
8 4
9 5
10 6
11 7
12 8
13 9
14 10
87
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
11 1
12 1
13 1
14 1
15 1
16 1
17 1
18 2
19 2
20 2
21 2
22 2
23 2
24 2
25 2
26 2
27 2
28 2
29 3
30 3
31 3
32 3
33 3
34 3
35 3
36 3
37 3
38 4
39 4
40 4
41 4
42 4
43 4
44 4
45 4
46 4
47 5
48 5
49 5
50 5...

result: