QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#601746#7007. Rikka with Data Structuresucup-team4744#WA 4622ms13884kbC++204.8kb2024-09-30 12:01:432024-09-30 12:01:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 4622ms
memory: 13008kb

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:

4
66
118
0
4
6
65
5
9
60
58
85
97
393
120
102
43
390
22
-66
226
13
58
-17
96
3
0
-1
26
10
2
1
10
93
101
30
-41
21
57
-14
16
42
-2
157
17
213
2
134
-6
28
196
62
202
222
145
160
118
13
6
206
-4
107
56
36
100
76
2
135
192
-3
156
197
-1
-4
46
42
67
40
204
-26
0
105
101
57
44
52
49
23
-22
-3
20
90
24
129...

result:

wrong answer 1st lines differ - expected: '1', found: '4'