QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#398049#5445. VulpeculamekoszcRE 2ms14068kbC++143.2kb2024-04-24 21:33:462024-04-24 21:33:47

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 13236kb

input:

2
1
2 2 3
2 1 1

output:

4
2

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 14068kb

input:

5
1 2 2 3
3 83 75 58
4 125 124 58 16
4 39 125 71 112
3 69 66 5
4 48 73 69 6

output:

171
125
183
142
243

result:

ok 5 lines

Test #3:

score: 0
Accepted
time: 2ms
memory: 13208kb

input:

2
1
0
0

output:

0
0

result:

ok 2 lines

Test #4:

score: -100
Runtime Error

input:

500
1 2 3 2 1 2 6 2 4 6 6 10 7 12 7 9 8 10 12 20 12 19 15 24 25 23 25 22 29 29 28 26 31 25 34 31 35 33 39 37 36 42 37 37 41 43 42 46 45 45 49 52 53 50 46 50 49 52 58 57 57 61 57 59 56 65 63 59 66 65 63 70 70 68 72 71 73 72 72 76 72 75 80 76 76 82 83 80 89 89 91 85 85 90 89 89 89 92 93 91 92 93 98 96...

output:


result: