QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#580968#7901. Basic Substring Structureucup-team2321WA 13ms3800kbC++2010.4kb2024-09-22 02:13:542024-09-22 02:13:55

詳細信息

Test #1:

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

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: 13ms
memory: 3800kb

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
283
15
95
114
58
348
225
3
389
364
377
316
3
19
127
66
16
81
42
249
11
63
28
90
80
107
251
191
21
48
353
63
102
20
24
68
316
362
304
321
362
281
319
293
226
312
3
330
54
328
3
69
32
144
321
39
338
90
242
3
165
346
245
20
155
3
456
393
393
76
270
369
20
54
21
279
3
24
351
3...

result:

wrong answer 9th lines differ - expected: '278', found: '283'