ACM-ICPC 2018 徐州赛区网络预赛 D Easy Math——Min_25筛
参考两篇博客:
该题别人推出的公式
另一人的Min25模板
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 1e6+5;
int zhi[N],pri[N],tot,m,id1[N],id2[N];
ll n,p,w[N],h[N],Sqr;
ll Pr[N];
i...
原创
2018-09-12 15:14:57 ·
153 阅读 ·
0 评论