QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#299366#7901. Basic Substring Structureucup-team2128#WA 28ms9744kbC++235.6kb2024-01-06 19:48:042024-01-06 19:48:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 28ms
memory: 9720kb

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:

100
133
352
9
211
14
261
362
280
33
93
128
58
338
221
3
350
362
373
316
7
17
137
72
15
105
37
248
16
63
35
97
89
91
240
196
25
47
271
64
101
20
24
65
314
366
262
308
365
282
321
289
234
305
3
330
71
328
3
71
35
145
380
44
357
96
245
10
162
356
246
20
170
9
373
393
388
80
267
368
20
58
20
273
3
27
35...

result:

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