QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#514738#7901. Basic Substring Structureucup-team3684WA 17ms3848kbC++233.8kb2024-08-11 09:25:262024-08-11 09:25:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
2 1 1 2
12
1 1 4 5 1 4 1 9 1 9 8 10

output:

15
217

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 17ms
memory: 3848kb

input:

10000
8
2 1 2 1 1 1 2 2
9
2 2 1 2 1 2 1 2 1
15
2 1 2 1 1 1 1 2 2 1 2 1 2 2 1
2
1 1
10
2 1 1 1 2 2 1 1 2 2
3
2 1 2
11
1 2 2 1 1 2 1 2 2 1 1
14
2 1 1 1 1 2 1 1 1 2 2 1 2 1
12
2 2 2 1 2 2 2 1 1 2 1 2
4
2 1 1 2
8
1 2 2 2 1 2 1 1
8
1 1 2 1 2 1 1 1
6
2 1 1 1 2 2
14
2 2 1 1 1 1 2 2 2 1 2 2 1 1
10
1 2 2 1 1...

output:

94
128
354
3
211
9
265
363
278
15
95
114
58
348
225
3
335
364
377
316
3
19
122
66
16
83
36
258
11
63
28
90
85
103
253
191
21
48
303
63
102
20
24
68
316
362
266
309
355
281
326
281
231
312
3
330
59
328
3
68
32
147
322
40
338
90
242
3
165
346
245
20
155
3
404
393
392
81
269
360
20
59
21
272
3
18
351
3...

result:

wrong answer 3rd lines differ - expected: '347', found: '354'