thickness = int(input())
days = 1
big_mouse = 1
total_big = 1
small_mouse = 1
total_small = 1
while True:
days += 1
big_mouse = big_mouse * 2
total_big += big_mouse
small_mouse = small_mouse * 0.5
total_small += small_mouse
if total_big + total_small >= thickness:
break
print(days)
print("{:.1f} {:.1f}".format(total_small, total_big))
老鼠打洞python
鼠群增长模拟
最新推荐文章于 2024-03-21 20:51:27 发布
1736

被折叠的 条评论
为什么被折叠?



