QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#118838#3869. Gastronomic Eventlmq26052003WA 245ms66016kbC++171.7kb2023-07-04 13:35:042023-07-04 13:35:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 31304kb

input:

5
1 2 2 2

output:

13 

result:

ok single line: '13 '

Test #2:

score: 0
Accepted
time: 1ms
memory: 31796kb

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: 245ms
memory: 66016kb

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 '