摘要: 1 typedef long long LL; 2 using namespace std; 3 4 //求a^b%m,递归写法 5 LL binaryPow(LL a,LL b,LL m){ 6 if(b==0){ //如果b为0,那么a^0=1 7 return 1; 8 } 9 else if 阅读全文
posted @ 2020-08-25 19:06 XA科研 阅读(221) 评论(0) 推荐(0) 编辑