QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#601752#7007. Rikka with Data Structuresucup-team4744#WA 5539ms13908kbC++205.0kb2024-09-30 12:14:192024-09-30 12:14:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 5539ms
memory: 13224kb

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
335
18
87
165
13
68
0
101
5
0
0
5
148
60
0
62
85
171
64
60
0
121
56
0
42
0
167
15
142
15
152
114
28
123
35
219
235
110
120
117
0
0
239
7
104
41
19
104
75
2
114
240
6
143
196
15
0
70
42
93
87
212
4
0
119
103
86
85
52
5
26
41
0
11
74
0
128
20
128
108
0...

result:

wrong answer 263rd lines differ - expected: '349', found: '234'