Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第二次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: C
Result: Accepted
Time: 117ms
Memory: 21432kB
Author: 18057153766
In contest: 1086

#!/usr/bin/python
i=0
n=1
list1=[]
list2=[]
while n>0:
    n=int(raw_input())
    list1.append(n)
    high=100
    while list1[i]>0:
        high*=0.7
        list1[i]-=1 
    list2.append(high)
    i+=1
n-=1
    
for x in range(len(list2)-1):
    print '%.2f'%list2[x]\