Problem Description
Loading...
Problem Analysis
The snail climbing out of a well problem
What is different this time is that fatigue is included
The climbing distance decreases every day
u-=f
(Note that it is not f% of the current distance that is subtracted, but f% of the initial distance)
Simulate this process
and just add out-of-bounds checks along the way
cpp
| |
Problem link: 【HDU】[1302]The Snail