摘要:
害呀 理了个头 结果在开始20分钟以后才碰到电脑 阅读全文
摘要:
#矩阵快速幂 https://www.luogu.com.cn/problem/P3390 就是矩阵乘法+快速幂,本来想用宏定义定义mod,结果不知道为什么会出错,改成const就过了 //#include<iostream> #include<bits/stdc++.h> using namesp 阅读全文
摘要:
线性素数筛 https://www.luogu.com.cn/problem/P3383 板子 #include<bits/stdc++.h> using namespace std; typedef long long ll; const ll maxn=1e8+1000; int t,p[max 阅读全文