#Q204. 「一本通 6.2 练习 5」樱花
「一本通 6.2 练习 5」樱花
Description
Original Problem: HackerRank Equations
Find the number of positive integer solutions to the indeterminate equation:
Input Format
An integer .
Output Format
An integer representing the number of valid pairs . The answer should be modulo .
Sample 1
There are three valid pairs that satisfy the equation: , and .
2
3
Constraints and Hints
For of the data, ;
For all data, .