专栏文章
快速查看文章及其快照的属性,并进行相关操作。
int qpow(int a,int b){ int ans=1; while(b){ if(b&1)ans*=a,ans%=mod; a*=a;a*=mod;b>>=1; } return a; }
共 0 条评论,欢迎与作者交流。