0_0_32856009_25441.cpp: In function 'void prime()':
0_0_32856009_25441.cpp:3:5: error: 'p' was not declared in this scope
p[0]=0;
^
0_0_32856009_25441.cpp:4:9: error: 'vis' was not declared in this scope
mem(vis,0);
^
0_0_32856009_25441.cpp:4:14: error: 'mem' was not declared in this scope
mem(vis,0);
^
0_0_32856009_25441.cpp:5:9: error: 'num' was not declared in this scope
mem(num,0);
^
0_0_32856009_25441.cpp:6:20: error: 'Max' was not declared in this scope
for(int i=2;i<=Max;i++)
^
0_0_32856009_25441.cpp:9:31: error: 'll' was not declared in this scope
for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
^
0_0_32856009_25441.cpp:9:34: error: expected ';' before 'i'
for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
^
0_0_32856009_25441.cpp:9:45: error: expected ')' before ';' token
for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
^
0_0_32856009_25441.cpp:9:46: error: 'j' was not declared in this scope
for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
^
0_0_32856009_25441.cpp:21:17: error: 'pf' was not declared in this scope
pf("%d ",num[i]);
^
|