**
python|NOI1.5练习
**
/***
Author:Jiang Zhiying
Data:2017.12.17
Emial:1443928904@qq.com
Description:练习
***/
22.
k = -1
sum, last = 0,0
for i in range(12):
a = int(input())
if(last + 300 < a) :
k = i + 1
break
last = last + 300 - a
sum += last//100
last %= 100
if(k > 0):
print(-k)
else:
sum *= 100
sum = sum + sum*0.2
sum += last
print(int(sum))
来源:CSDN
作者:小兔子乖乖吖
链接:https://blog.csdn.net/weixin_45852964/article/details/103586946