QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#278660#7901. Basic Substring Structureucup-team991WA 21ms10628kbC++175.8kb2023-12-07 19:06:002023-12-07 19:06:00

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 10628kb

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: 21ms
memory: 9996kb

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
9
265
363
278
15
95
114
58
348
225
3
377
364
377
316
3
19
122
66
15
83
36
254
11
63
28
90
85
112
248
191
21
48
343
63
102
20
24
68
316
362
298
309
361
281
321
298
229
312
3
330
54
328
3
69
32
147
322
39
338
90
242
3
165
346
245
20
155
3
470
393
387
81
269
360
20
54
21
279
3
23
351
3...

result:

wrong answer 17th lines differ - expected: '335', found: '377'