摘要: ll quickpow(ll a,ll b,ll p) //(a^b)%p { ll res=1%p; a%=p; while(b!=0) { if(b&1) res=(res*a)%p; a=(a*a)%p; b>>=1; } return res; } long double quickmi(l 阅读全文
posted @ 2020-12-22 21:24 MZRONG 阅读(104) 评论(0) 推荐(1) 编辑