QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#521381#7007. Rikka with Data StructuresHuangHanShengWA 2501ms62740kbC++238.0kb2024-08-16 09:45:152024-08-16 09:45:16

詳細信息

Test #1:

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

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: 2501ms
memory: 62740kb

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
59
70
2
2
1
50
5
9
149
58
189
97
247
106
103
43
334
18
87
165
13
68
0
100
5
0
0
5
146
59
0
60
84
169
63
59
0
120
55
0
42
0
167
15
140
13
152
112
28
123
35
218
234
110
119
117
0
0
239
7
104
41
19
104
74
2
113
238
6
143
195
14
0
68
42
91
86
212
4
0
117
102
84
82
52
4
26
41
0
11
74
0
127
20
126
107
0...

result:

wrong answer 18th lines differ - expected: '335', found: '334'