0_0_19965763_64.cpp:1:10: error: 'MAXN' was not declared in this scope
int prim[MAXN/10], npr;
^
0_0_19965763_64.cpp:2:11: error: 'MAXN' was not declared in this scope
bool isnp[MAXN+1];
^
0_0_19965763_64.cpp: In function 'void init()':
0_0_19965763_64.cpp:6:2: error: 'prim' was not declared in this scope
prim[npr++] = 2;
^
0_0_19965763_64.cpp:7:2: error: 'isnp' was not declared in this scope
isnp[2] = false;
^
0_0_19965763_64.cpp:8:25: error: 'MAXN' was not declared in this scope
for(int i = 3; i <= MAXN; i += 2)
^
0_0_19965763_64.cpp:11:8: error: 'LL' was not declared in this scope
if((LL)i*i > MAXN) continue;
^
0_0_19965763_64.cpp:11:11: error: expected ')' before 'i'
if((LL)i*i > MAXN) continue;
^
|