QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#341216#7007. Rikka with Data Structuresucup-team017#WA 2325ms15212kbC++143.5kb2024-02-29 16:35:512024-02-29 16:35:54

详细

Test #1:

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

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: 2325ms
memory: 15212kb

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
70
2
2
1
47
5
9
149
58
189
97
232
49
103
43
335
18
87
165
13
68
0
101
5
0
0
5
148
60
0
62
136
171
64
59
0
121
54
0
42
0
167
15
142
15
152
114
28
123
35
219
232
110
120
117
0
0
239
7
103
41
20
104
75
2
114
240
6
143
196
15
0
70
42
93
87
212
4
0
171
133
86
160
52
5
26
41
0
11
74
1
129
21
131
109
...

result:

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