爬呀爬
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.
题目描述
一只蜗牛要爬上 米高的树桩,它每天白天向上爬 米,晚上向下掉 米。几天之后它可以爬到树桩顶?
输入格式
一行三个整数 、、,用空格隔开。
输出格式
一行一个整数,表示答案。
2 1 5
4
5 1 6
2
100 99 1000000000
999999901
提示
数据规模与约定
- 对于 的数据,保证 。
说明
- 本题满分 分。
2024暑假C23toB大黄鸭争夺赛
- Status
- Done
- Rule
- Ledo
- Problem
- 6
- Start at
- 2024-7-20 14:00
- End at
- 2024-7-20 16:30
- Duration
- 2.5 hour(s)
- Host
- Partic.
- 50