0_0_25940234_31355.cpp:7:1: error: expected initializer before 'int'
int f[maxn];
^
0_0_25940234_31355.cpp: In function 'void init()':
0_0_25940234_31355.cpp:10:29: error: 'fac' was not declared in this scope
for(int i=1;i<maxn;++i) fac[i]=i;
^
0_0_25940234_31355.cpp:14:12: error: 'fac' was not declared in this scope
if(fac[i]==i)
^
0_0_25940234_31355.cpp:17:14: error: 'fac' was not declared in this scope
if(i/fac[i]%fac[i]) phi[i]=(fac[i]-1)*phi[i/fac[i]],miu[i]=-miu[i/fac[i]];
^
0_0_25940234_31355.cpp: In function 'int main()':
0_0_25940234_31355.cpp:43:16: error: 'f' was not declared in this scope
memset(f,0,sizeof(int)*(x+1));
^
|