QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#277703#7901. Basic Substring Structureucup-team1005#WA 13ms16136kbC++204.1kb2023-12-06 21:40:302023-12-06 21:40:32

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 13692kb

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: 13ms
memory: 16136kb

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
9
228
418
414
15
96
131
58
446
226
3
447
558
451
428
3
19
150
64
15
143
47
238
11
63
28
90
85
137
230
190
21
51
449
63
176
20
24
67
379
428
398
483
365
293
315
457
251
304
3
286
54
253
3
68
32
152
477
39
491
116
244
3
170
517
275
20
179
3
612
392
566
68
277
480
20
54
21
266
3
25
355...

result:

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