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; 蓝桥杯 2023-09-30 223 点赞 3 评论 337 浏览