QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#811470#9322. Segments Removalucup-team3583#WA 62ms3816kbC++203.3kb2024-12-12 19:50:462024-12-12 19:50:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3 8
3 7 3 2
5 8 2 1
1 3 2 2
2 5
1 3 2 7
3 5 3 4

output:

16
2

result:

ok 2 number(s): "16 2"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

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

output:

29
11
18
19
0

result:

ok 5 number(s): "29 11 18 19 0"

Test #3:

score: -100
Wrong Answer
time: 62ms
memory: 3512kb

input:

26334
4 21
15 16 5 10
7 7 14 46
5 7 9 10
11 18 17 49
4 22
4 17 8 30
5 12 11 35
8 11 3 21
12 16 1 10
5 8
1 1 8 27
5 7 1 26
7 8 3 34
1 6 13 34
6 7 18 13
4 9
6 8 7 31
5 9 14 21
8 9 16 50
2 8 7 49
5 9
5 5 12 19
1 5 5 22
4 6 14 18
7 9 10 40
2 6 11 7
5 24
9 22 14 4
17 21 11 37
12 23 2 26
7 9 19 12
8 22 20...

output:

85
40
0
0
0
213
81
260
17
157
189
5
43
182
48
148
55
0
177
196
167
94
205
150
59
306
269
117
0
166
118
0
79
142
189
0
70
18
176
7
41
17
183
27
19
18
0
0
243
216
50
45
34
203
141
18
0
60
171
0
246
236
113
8
182
0
0
74
154
0
136
92
42
86
22
83
59
270
144
41
18
153
145
0
56
0
90
37
63
18
129
0
103
0
39...

result:

wrong answer 3rd numbers differ - expected: '5', found: '0'