AJ. 练39.2 蜗牛爬树
练39.2 蜗牛爬树
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
有一棵光滑的葡萄树高分米,一只蜗牛从底部向上爬,每分钟爬分米,但每爬一分钟后都要休息一分钟,休息期间又要滑下分米。该蜗牛需要多少分钟才能爬到树顶?
输入格式
无。
输出格式
输出一个整数,表示蜗牛需要多少分钟才能爬到树顶。
样例
无
需要15分钟
2025年夏令营新人班【查】4
- Status
- Done
- Problem
- 77
- Open Since
- 2025-7-8 0:00
- Deadline
- 2025-8-30 23:59
- Extension
- 24 hour(s)