QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#277731#7901. Basic Substring Structureucup-team1765#WA 23ms17792kbC++202.6kb2023-12-06 22:00:062023-12-06 22:00:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 23ms
memory: 17792kb

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
279
15
95
113
58
351
225
3
334
357
376
316
3
19
123
66
15
82
36
258
11
63
28
85
84
103
251
190
21
48
303
63
102
20
24
67
311
362
266
296
348
281
326
281
231
312
3
330
54
328
3
69
32
147
322
39
329
90
241
3
164
345
250
20
155
3
404
393
390
81
269
359
20
54
21
279
3
17
351
3...

result:

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