mod P\bmod PmodP での KKK 乗根
K,YK, YK,Y と素数 PPP が与えられ、XK≡Y(modP)X^K \equiv Y \pmod{P}XK≡Y(modP) を満たす XXX を求める。