摘要:
点击查看代码 #include<iostream> using namespace std; typedef long long LL; LL exgcd(LL a, LL b, LL & x, LL & y) { if (!b) { x = 1, y = 0; return a; } LL d = 阅读全文
posted @ 2022-05-11 23:38
wKingYu
阅读(51)
评论(0)
推荐(0)
摘要:
复杂度 \(O(log(n))\) 总体复杂度 \(10^{5} \times log(2 \times 10^{9}) \approx 4 \times 10^{6}\) 点击查看代码 #include<iostream> using namespace std; typedef long lon 阅读全文
posted @ 2022-05-11 20:22
wKingYu
阅读(65)
评论(0)
推荐(0)

浙公网安备 33010602011771号