小玉在游泳 - 洛谷
"""
P1423 小玉在游泳(python3实现)
https://www.luogu.com.cn/problem/P1423
"""
s=2
d=0
ans=0
x=float(input())
while d<x:
d+=s
s=s/100*98
ans+=1
print(ans)
微信扫一扫
小玉在游泳 - 洛谷
"""
P1423 小玉在游泳(python3实现)
https://www.luogu.com.cn/problem/P1423
"""
s=2
d=0
ans=0
x=float(input())
while d<x:
d+=s
s=s/100*98
ans+=1
print(ans)
相关推荐