Rosetta Problems

平方剰余( mod P\bmod P での平方根)

YY と素数 PP が与えられ、X2≡Y(modP)X^2 \equiv Y \pmod{P} を満たす XX を求める。

関連リンク