摘要: 参考:http://blog.csdn.net/sinat_27410769/article/details/46754209 首先看一下欧拉定理及扩展(~~还不会证先坑着~~ $$ a^n\equiv a^{n\%\phi(p)}\%p,[gcd(n,p)==1] $$ $$ a^n=a^{n\% 阅读全文
posted @ 2018-01-16 12:02 lokiii 阅读(161) 评论(0) 推荐(0)