QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#278525#7901. Basic Substring Structureucup-team991WA 21ms12064kbC++175.0kb2023-12-07 16:56:292023-12-07 16:56:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 21ms
memory: 11840kb

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
127
347
3
211
9
265
363
284
15
95
113
58
351
225
3
388
357
376
316
3
19
128
66
16
80
42
249
11
63
28
85
79
107
250
190
21
48
353
63
102
20
24
67
311
362
304
308
347
281
319
293
226
312
3
330
54
328
3
69
32
144
321
39
329
90
241
3
164
345
250
20
155
3
456
393
391
76
270
368
20
54
21
279
3
24
351
3...

result:

wrong answer 2nd lines differ - expected: '128', found: '127'