QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#300331#7901. Basic Substring Structureucup-team216WA 20ms43524kbC++207.4kb2024-01-08 03:09:202024-01-08 03:09:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 43524kb

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: 20ms
memory: 43316kb

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
127
354
3
211
9
268
359
292
15
96
109
55
353
224
3
353
362
374
319
3
20
134
72
15
92
36
254
16
57
29
92
93
115
249
194
21
47
315
58
103
20
21
67
315
356
265
305
361
275
314
293
231
304
3
322
59
325
3
70
29
144
321
40
349
89
244
3
161
351
246
20
151
3
420
396
381
81
259
368
20
59
21
279
3
17
345
...

result:

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