摘要: https://oj.shiyancang.cn/Problem/798.html #include<bits/stdc++.h> using namespace std; typedef long long ll; const int mod = 21252; ll a[4],m[4]; ll M 阅读全文
posted @ 2021-07-29 01:40 mofan552 阅读(55) 评论(0) 推荐(0)
摘要: http://ybt.ssoier.cn:8088/problem_show.php?pid=1633 A^B 快速幂求结果,所有约数和,可以通过组合来进行得到。 技巧,通过递归得到1~n次的和.sum(n/2)*(1+?)这半,通过加自身和,调整后的自身以及补位,在log的时间内算出所有结果. 分 阅读全文
posted @ 2021-07-29 00:23 mofan552 阅读(97) 评论(0) 推荐(0)