0_0_32060812_6162.cpp:5:1: error: expected ',' or ';' before 'int'
int T,n,m,now,a[N],b[N],u[N],vi[N];
^
0_0_32060812_6162.cpp: In function 'int main()':
0_0_32060812_6162.cpp:18:7: error: 'vi' was not declared in this scope
if(!vi[i]) b[++now]=i,u[i]=-1;
^
0_0_32060812_6162.cpp:18:14: error: 'b' was not declared in this scope
if(!vi[i]) b[++now]=i,u[i]=-1;
^
0_0_32060812_6162.cpp:18:18: error: 'now' was not declared in this scope
if(!vi[i]) b[++now]=i,u[i]=-1;
^
0_0_32060812_6162.cpp:18:25: error: 'u' was not declared in this scope
if(!vi[i]) b[++now]=i,u[i]=-1;
^
0_0_32060812_6162.cpp:19:18: error: 'now' was not declared in this scope
for(int j=1;j<=now&&b[j]*i<N;j++){
^
0_0_32060812_6162.cpp:19:23: error: 'b' was not declared in this scope
for(int j=1;j<=now&&b[j]*i<N;j++){
^
0_0_32060812_6162.cpp:20:4: error: 'vi' was not declared in this scope
vi[i*b[j]]=1;
^
0_0_32060812_6162.cpp:22:9: error: 'u' was not declared in this scope
else u[i*b[j]]=-u[i];
^
0_0_32060812_6162.cpp:25:14: error: 'T' was not declared in this scope
scanf("%d",&T),u[1]=1;
^
0_0_32060812_6162.cpp:25:17: error: 'u' was not declared in this scope
scanf("%d",&T),u[1]=1;
^
0_0_32060812_6162.cpp:27:15: error: 'n' was not declared in this scope
scanf("%d",&n);
^
0_0_32060812_6162.cpp:30:6: error: 'a' was not declared in this scope
++a[x],m=max(x,m);
^
0_0_32060812_6162.cpp:30:11: error: 'm' was not declared in this scope
++a[x],m=max(x,m);
^
0_0_32060812_6162.cpp:33:18: error: 'm' was not declared in this scope
for(int i=1;i<=m;i++){
^
0_0_32060812_6162.cpp:36:21: error: 'a' was not declared in this scope
if(j%i==0) sum+=a[j];
^
0_0_32060812_6162.cpp:41:18: error: 'm' was not declared in this scope
for(int i=1;i<=m;i++) a[i]=0;
^
0_0_32060812_6162.cpp:41:25: error: 'a' was not declared in this scope
for(int i=1;i<=m;i++) a[i]=0;
^
|