QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#386872#7613. Inverse Problemucup-team150WA 5837ms4168kbC++236.9kb2024-04-11 20:53:212024-04-11 20:53:21

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3644kb

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
Wrong Answer
time: 5837ms
memory: 4168kb

input:

9
185396120
468170792
837583517
696626231
338497514
762842660
800028852
928391161
733524004

output:

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

result:

wrong answer Liczba kolorowań jest błędna!