Problem3389--【Div3】贪心算法练习 - 昂贵的数字

3389: 【Div3】贪心算法练习 - 昂贵的数字

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

Description



Sample Input Copy

4
666
13700
102030
7

Sample Output Copy

2
4
3
0

Source/Category