QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#301550#7901. Basic Substring StructureZhaoZiLongWA 16ms42680kbC++172.9kb2024-01-10 02:41:542024-01-10 02:41:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 10ms
memory: 42680kb

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: 16ms
memory: 41268kb

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:

102
152
418
47
259
80
336
444
384
155
279
299
230
506
398
123
590
627
686
643
172
255
422
339
219
435
313
612
240
373
362
518
443
469
636
607
346
396
720
454
619
320
365
506
795
956
859
994
948
863
995
1006
934
1013
376
1076
688
1090
395
713
658
929
1172
684
1241
902
1124
433
1113
1334
1135
562
1015...

result:

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