#P1806. 跑步
跑步
Description
Passerby A plans to run laps to exercise. He intends to finish in multiple sessions (), running a positive integer number of laps each time, then resting before continuing.
To effectively improve his fitness, he decides that the number of laps he runs each time must be greater than the previous time.
Assuming he has run laps at the start, how many ways are there for him to finish these laps?
Input Format
A single line containing an integer .
Output Format
A single integer representing the number of ways to finish the laps.
212
995645335
Hint
Constraints
For of the testdata, it is guaranteed that .
Translated by ChatGPT 5
京公网安备 11011102002149号