甜蜜鼠标

文章
3
资源
0
加入时间
3年0月28天

3的n次幂 mod 19

#include#include#include#includeusing namespace std;typedef long long LL;int Max=19;LL fun(LL x,LL n){ LL res=1; while(n>0) { if(n & 1) res=(res*x)%Max;