Problem B
Ladder
You are attempting to climb up the roof to fix some leaks,
and have to go buy a ladder. The ladder needs to reach to the
top of the wall, which is
Input
The input consists of a single line containing two integers
Output
Write a single line containing the minimum possible length of the ladder in centimeters, rounded up to the nearest integer.
Sample Input 1 | Sample Output 1 |
---|---|
500 70 |
533 |
Sample Input 2 | Sample Output 2 |
---|---|
1000 10 |
5759 |