luogu2155专题

质数--luogu2155沙拉公主的困惑

啊不带了写题解了 放个很好的链接 www.cnblogs.com/yangyaojia 然后贴代码: #include<iostream>#include<cstdio>#include<cstring>#include<algorithm>#include<cmath>#define maxn 10000005using namespace std;int t,mod,n[