#P5325. 【模板】Min_25 筛
【模板】Min_25 筛
Description
Define a multiplicative function , and ( is a prime). Compute
modulo .
Input Format
One line containing an integer .
Output Format
Output one integer, the answer.
10
263
1000000000
710164413
Hint
,,,,;
,,,,。
For of the testdata, it is guaranteed that .
For of the testdata, it is guaranteed that 。
Translated by ChatGPT 5
京公网安备 11011102002149号