Problem3596--【Div4】数组基本练习 - 登山徒步

3596: 【Div4】数组基本练习 - 登山徒步

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description


示例:

Sample Input Copy

10
100
120
115
120
125
140
130
110
130
120

Sample Output Copy

500

Source/Category