QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#298806#7901. Basic Substring Structureucup-team267#WA 12ms26132kbC++144.4kb2024-01-06 14:52:392024-01-06 14:52:41

詳細信息

Test #1:

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

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: 12ms
memory: 26128kb

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:

94
128
347
3
211
10
265
359
278
15
95
114
60
348
219
3
335
364
377
316
3
19
130
62
15
83
36
258
11
63
27
90
85
104
252
199
21
54
303
63
102
23
24
68
316
362
266
313
355
283
328
281
231
312
5
330
54
328
3
69
42
147
322
39
344
90
250
3
165
346
245
20
171
3
404
393
392
81
269
360
20
54
21
279
3
17
351
...

result:

wrong answer 6th lines differ - expected: '9', found: '10'