QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#277692#7901. Basic Substring Structureucup-team1005#WA 21ms13972kbC++204.1kb2023-12-06 21:30:342023-12-06 21:30:35

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 13136kb

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: 13972kb

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:

92
128
537
3
221
14
228
463
422
15
96
170
102
483
278
3
447
558
451
411
3
19
150
62
14
143
49
238
11
63
39
202
156
137
230
258
21
50
473
68
176
19
33
67
430
428
402
483
467
275
315
450
251
442
3
309
54
263
3
82
32
152
649
57
491
116
247
3
170
517
275
20
182
3
612
392
566
68
272
480
20
54
34
379
3
25...

result:

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