0_0_26236429_10156.cpp: In function 'void pre()':
0_0_26236429_10156.cpp:2:5: error: 'mu' was not declared in this scope
mu[1] = 1;
^
0_0_26236429_10156.cpp:3:25: error: 'maxn' was not declared in this scope
for (int i = 2; i < maxn; i++) {
^
0_0_26236429_10156.cpp:4:14: error: 'vis' was not declared in this scope
if (!vis[i]) {
^
0_0_26236429_10156.cpp:5:13: error: 'p' was not declared in this scope
p[++cnt] = i;
^
0_0_26236429_10156.cpp:5:17: error: 'cnt' was not declared in this scope
p[++cnt] = i;
^
0_0_26236429_10156.cpp:8:30: error: 'cnt' was not declared in this scope
for (int j = 1; j <= cnt && p[j] * i < maxn; j++) {
^
0_0_26236429_10156.cpp:8:37: error: 'p' was not declared in this scope
for (int j = 1; j <= cnt && p[j] * i < maxn; j++) {
^
0_0_26236429_10156.cpp:9:13: error: 'vis' was not declared in this scope
vis[p[j] * i] = true;
^
|