Skip to main content

洛谷 P1226 【模板】快速幂

给定三个整数 a,b,pa,b,p,求 abmodpa^b \bmod p。(a,b,p<231a,b,p<2^{31}