QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#118839#3869. Gastronomic Eventlmq26052003WA 209ms66188kbC++171.7kb2023-07-04 13:35:552023-07-04 13:35:55

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 33268kb

input:

5
1 2 2 2

output:

13 

result:

ok single line: '13 '

Test #2:

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

input:

10
1 2 3 4 3 2 7 8 7

output:

47 

result:

ok single line: '47 '

Test #3:

score: -100
Wrong Answer
time: 209ms
memory: 66188kb

input:

1000000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 35 38 39 40 40 39 43 38 45 35 35 34 34 34 33 52 53 54 55 56 56 58 56 60 60 60 63 56 65 65 55 54 53 70 71 72 71 74 70 76 77 78 79 76 81 82 70 84 70 70 53 88 89 90 91 90 89 94 95 96 94 89 88 100 ...

output:

250014429355 

result:

wrong answer 1st lines differ - expected: '249834400049', found: '250014429355 '