QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#317779#7901. Basic Substring Structureucup-team2008#WA 9ms25776kbC++174.2kb2024-01-29 17:57:212024-01-29 17:57:22

詳細信息

Test #1:

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

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: 9ms
memory: 25452kb

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:

95
131
344
3
211
9
264
363
277
15
96
112
58
348
225
3
335
355
376
307
3
19
121
63
15
89
34
257
11
63
28
90
86
103
252
192
26
49
303
63
95
20
24
67
316
362
267
305
349
281
331
281
231
319
3
329
54
328
3
63
32
148
323
39
337
90
242
3
164
345
244
20
152
3
404
393
391
76
267
366
20
54
26
279
3
17
351
39...

result:

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