100 atcoder#ABC078B. [ABC078B] ISU
[ABC078B] ISU
Score : points
Problem Statement
We have a long seat of width centimeters. There are many people who wants to sit here. A person sitting on the seat will always occupy an interval of length centimeters.
We would like to seat as many people as possible, but they are all very shy, and there must be a gap of length at least centimeters between two people, and between the end of the seat and a person.
At most how many people can sit on the seat?
Constraints
- All input values are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
13 3 1
3
There is just enough room for three, as shown below:
Figure
12 3 1
2
100000 1 1
49999
64146 123 456
110
64145 123 456
109