Type: FileIO (woniu) 1000ms 256MiB

蜗牛爬树

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.

说明

有一棵葡萄树高nn分米,一只蜗牛从底部向上爬,每分钟爬33分米,但每爬一分钟后都要休息一分钟,休息期间又要滑下11分米。该蜗牛需要多少分钟才能爬到树顶?

输入格式

输入一个整数n(0n1000 \le n \le 100

输出格式

输出一个整数,表示蜗牛需要多少分钟才能爬到树顶。

样例

17
15

模拟算法

Not Claimed
Status
Done
Problem
8
Open Since
2024-9-21 0:00
Deadline
2024-9-28 23:59
Extension
24 hour(s)