QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299246#7901. Basic Substring Structureucup-team1348WA 21ms5296kbC++206.8kb2024-01-06 18:01:482024-01-06 18:01:48

详细

Test #1:

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

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: 5096kb

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
127
347
3
211
9
265
363
397
15
95
113
58
351
225
3
380
357
376
316
3
19
185
66
15
138
36
292
11
63
28
85
84
155
285
190
21
48
477
63
102
20
24
67
311
362
410
478
436
281
400
569
345
312
3
330
54
328
3
69
32
209
550
39
329
90
241
3
164
345
250
20
155
3
644
393
618
81
357
487
20
54
21
279
3
17
351
...

result:

wrong answer 2nd lines differ - expected: '128', found: '127'