洛谷-P1423 小玉在游泳

# -*- coding: utf-8 -*- """ Created on Thu Apr  5 19:45:13 2018 @author: wdf """ k = float(input()) n=1 s=2 s1=2 while (s<k):     n+=1     s1=0.98*s1     s+=s1 print (n)
相關文章
相關標籤/搜索