Problem2638--蓝桥杯真题训练(2021.3)P5最佳策略

2638: 蓝桥杯真题训练(2021.3)P5最佳策略

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

Description

Sample Input Copy

3
130 115 98

Sample Output Copy

9

Source/Category