Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Oh I missed the "strictly greater than" in the description. Thanks for reminding.
And it's considerate of you to notice the situation where floor(k) equals 0.
This comment is hidden because it contains spoiler information about the solution
Might be a mistake though...
For such case: h=30, bounce=0.5, window=15.
The answer should be 2, I guess.
Need to consider cases that the ball bounces back to the exact height of the window.(Just like the case provided above.)