#P196. 练32.2 种植竹笋
练32.2 种植竹笋
Description
The initial height of the bamboo shoot is , and its growth rate decreases with each day: it grows centimeters on the first day, centimeters on the second day, and so on, with the growth on the -th day being centimeters (the daily growth may not be an integer). The bamboo shoot can be harvested and sold when it reaches a height of centimeters or more. On which day can the farmer harvest the bamboo shoot?
If the bamboo shoot still cannot reach the harvest height after one year (after the -th day), output .
Input Format
Input consists of a single line containing an integer (), representing the minimum height at which the bamboo shoot can be harvested.
Output Format
Output a single line containing an integer, representing the day after which the bamboo shoot can be harvested.
Sample
101