QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#659874#7901. Basic Substring StructurexyjWA 12ms11924kbC++203.2kb2024-10-19 22:52:542024-10-19 22:52:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 12ms
memory: 10084kb

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
347
3
211
9
265
363
275
15
95
114
58
348
225
3
331
364
377
316
3
19
119
65
16
83
36
258
10
64
28
90
86
101
253
191
21
48
301
63
102
20
24
68
316
362
266
305
351
281
330
278
228
312
3
330
54
328
8
69
32
148
323
39
338
89
242
3
165
346
245
20
155
3
394
393
384
78
270
361
20
54
21
279
3
14
351
3...

result:

wrong answer 9th lines differ - expected: '278', found: '275'