摘要:
适用于OI的高精度模板 #include<bits/stdc++.h> using namespace std; typedef long long ll; struct big{ typedef pair<big, big> pbb; static const int L = 1e3, MOD = 阅读全文
摘要:
T1 区间筛裸题 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e6+10; int pri[N]; ll num[N];//FOR [L, R] bool npri[N]; ll 阅读全文
摘要:
http://www.51nod.com/Contest/ProblemList.html#contestId=975&randomCode=152804 A 行和列可以分开考虑, 答案是修改行未修改列+修改列未修改行 注意1既不是质数也不是合数 #include<bits/stdc++.h> ty 阅读全文