QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299359#7901. Basic Substring Structureucup-team2128#WA 33ms9588kbC++234.8kb2024-01-06 19:35:302024-01-06 19:35:30

详细

Test #1:

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

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: 33ms
memory: 9588kb

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:

106
133
362
9
177
14
199
354
276
33
95
112
58
354
207
3
270
404
387
294
7
17
117
62
9
97
31
216
16
63
35
97
81
83
196
192
23
37
143
64
101
20
24
65
296
350
232
338
357
280
301
267
214
295
3
326
71
324
3
73
35
139
300
44
369
98
245
10
162
366
212
20
168
9
205
391
392
64
261
338
20
58
18
277
3
23
359
...

result:

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