#P1593. 因子和
因子和
Description
Given two integers and , compute the sum of divisors of .
Since the result can be very large, output it modulo .
Input Format
A single line containing two integers and .
Output Format
Output a single line with one integer, the answer modulo .
2 3
15
Hint
Constraints
For all testdata, it is guaranteed that , .
Translated by ChatGPT 5
京公网安备 11011102002149号