219 - Monkey Vs Bamboo
Monkey Vs Bamboo
Time Limit: 1 sec
There is an H feet long Bamboo which is smeared with oil. A monkey climb up M feet at first minute & drop down N feet in the second minute. So now find out how many minutes it will take to reach the ending point of the bamboo?
The input file contains three integer number H, M & N (H<1000, M<1000, N<1000 and M>N).
Output will show the total minutes take to reach the ending point of the bamboo.
92 12 8
Problem Setter: Nezam Uddin