0
点赞
收藏
分享

微信扫一扫

P1423 小玉在游泳(python3实现)

陈情雅雅 2022-02-01 阅读 108

小玉在游泳 - 洛谷

"""

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)


举报

相关推荐

0 条评论