Rosetta Problems
← 問題一覧に戻る
原始根
素数
P
P
P
が与えられ、
m
o
d
P
\bmod P
mod
P
の原始根を
1
1
1
つ求める。
関連リンク
yosupo/primitive_root