408385: GYM103110 A Mountain Climbing

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

A. Mountain Climbingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputExampleInput
5
2 5 3 4 1
Output
17

加入题单

上一题 下一题 算法标签: