QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#341209#7007. Rikka with Data Structuresucup-team017#WA 1680ms15132kbC++143.5kb2024-02-29 16:33:122024-02-29 16:33:13

详细

Test #1:

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

input:

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

output:

3
3
10
7
10
8
2

result:

ok 7 lines

Test #2:

score: -100
Wrong Answer
time: 1680ms
memory: 15132kb

input:

200
321 43
168330405 102091681 86278243 227886812 609333939 211045240 332465535 212315420 510322126 700237719 102348318 320419595 409640374 582249257 245617532 643949598 748863235 405762764 358055464 585833725 429993246 60296212 632603910 229141445 696836739 297883078 545245133 44079558 92873286 347...

output:

1
53
67
2
0
1
47
5
9
55
58
65
97
202
34
99
43
329
18
2
140
13
36
0
79
5
0
0
5
59
1
0
9
136
216
41
3
0
62
36
0
42
0
240
15
104
11
217
2
28
58
7
183
206
104
118
117
0
4
162
1
96
41
2
104
71
2
90
203
2
143
174
1
0
35
42
72
232
216
2
0
159
133
60
140
52
3
1
1
0
9
74
1
90
6
65
57
0
122
2
63
104
44
0
75
5...

result:

wrong answer 2nd lines differ - expected: '59', found: '53'