QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#405635#7901. Basic Substring StructurehouzhiyuanWA 14ms3528kbC++142.2kb2024-05-06 11:25:052024-05-06 11:25:05

詳細信息

Test #1:

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

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: 14ms
memory: 3528kb

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:

96
128
351
3
179
9
203
335
279
15
97
108
58
334
225
3
357
360
359
294
3
19
131
64
8
75
24
247
11
63
28
90
88
105
211
189
19
34
213
63
104
20
24
68
316
354
290
291
342
281
319
281
212
294
3
328
54
320
3
67
32
140
293
39
348
82
242
3
165
338
213
20
153
3
308
397
371
88
262
369
20
54
19
283
3
18
355
36...

result:

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