QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299377#7901. Basic Substring Structureucup-team2450#WA 25ms3576kbC++206.6kb2024-01-06 19:59:102024-01-06 19:59:10

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3512kb

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: 25ms
memory: 3576kb

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
133
352
3
211
9
265
363
279
15
95
111
58
352
225
3
345
362
374
316
3
17
121
72
10
76
37
256
16
63
28
94
89
97
242
196
21
47
298
63
102
20
24
65
314
362
261
310
360
281
320
275
224
312
3
330
57
328
3
69
35
146
318
45
351
91
245
3
162
356
246
20
154
3
392
393
394
80
264
356
20
57
21
279
3
19
351
3...

result:

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