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 55 点赞 0 评论 83 浏览