摘要: 题目链接:https://www.acwing.com/problem/content/description/877/ 快速幂模板题,计算ab mod p 的值,a,b,p大概1e9左右,可以快速计算出结果 例如:11的二进制是1011,所以 11 = 23 * 1 + 22 * 0 + 21 * 阅读全文
posted @ 2019-12-09 10:25 chuyds 阅读(179) 评论(0) 推荐(0) 编辑