摘要: 1 ll pow(ll a,ll b,ll mod) 2 { 3 ll res=1; 4 // if(a==0) return res; 5 while(b) 6 { 7 if(b&1) res=(res*a)%mod; 8 a=(a*a)%mod; 9 b>>=1; 10 } 11 return 阅读全文
posted @ 2020-05-26 14:34 kaike 阅读(180) 评论(0) 推荐(0) 编辑