摘要:
Code #include <cstdio> #include <algorithm> using namespace std; const int N = 1000001; bool primeQ[N]; int prime[N / 10]; int cnt; int a, d, n, cur; 阅读全文
摘要:
Code #include <cstdio> #include <cmath> #include <algorithm> using namespace std; const int N = 1000001; int prime[N]; bool primeQ[N]; int x, cur, cnt 阅读全文
摘要:
Code #include <cstdio> #include <algorithm> #include <cstring> using namespace std; const int N = 512; int t, n, m, cnt; int cori[N], flag[N]; inline 阅读全文