Type: RemoteJudge 100ms 32MiB

爬呀爬

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.

题目描述

一只蜗牛要爬上 vv 米高的树桩,它每天白天向上爬 aa 米,晚上向下掉 bb 米。几天之后它可以爬到树桩顶?

输入格式

一行三个整数 aabbvv,用空格隔开。

输出格式

一行一个整数,表示答案。

2 1 5
4
5 1 6
2
100 99 1000000000
999999901

提示

数据规模与约定

  • 对于 100%100\% 的数据,保证 1b<av1×1091 \leq b < a \leq v \leq 1 \times 10^9

说明

  • 本题满分 3030 分。

2024暑假C23toB大黄鸭争夺赛

Not Attended
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