#P1445. [Violet] 樱花
[Violet] 樱花
Description
Find the number of ordered positive integer solutions to the equation:
Output the answer modulo .
Input Format
The input consists of a single integer .
Output Format
Output a single integer: the number of ordered positive integer pairs modulo .
2
3
1439
102426508
Hint
Sample 1 Explanation
There are three pairs that satisfy the condition: , , and .
Constraints
- For of the testdata, it is guaranteed that .
- For of the testdata, it is guaranteed that .
Translated by ChatGPT 5
京公网安备 11011102002149号