0_0_34768309_32320.cpp: In function 'void multiply(int*, int)':
0_0_34768309_32320.cpp:5:24: error: 'maxn' was not declared in this scope
for(int i = 0;i <= maxn;i++)
^
0_0_34768309_32320.cpp: In function 'void table(int)':
0_0_34768309_32320.cpp:15:5: error: 'ans' was not declared in this scope
ans[0][0] = 2;
^
0_0_34768309_32320.cpp:16:20: error: 'prime_table' was not declared in this scope
prime_table(500);
^
0_0_34768309_32320.cpp:19:32: error: 'maxn' was not declared in this scope
memcpy(ans[i],ans[i-1],maxn*sizeof(int));
^
0_0_34768309_32320.cpp:19:48: error: 'memcpy' was not declared in this scope
memcpy(ans[i],ans[i-1],maxn*sizeof(int));
^
0_0_34768309_32320.cpp:20:25: error: 'prime' was not declared in this scope
multiply(ans[i],prime[i+1]);
^
0_0_34768309_32320.cpp: In function 'int main()':
0_0_34768309_32320.cpp:26:30: error: 'stdout' was not declared in this scope
freopen("output.txt","w",stdout);
^
0_0_34768309_32320.cpp:26:36: error: 'freopen' was not declared in this scope
freopen("output.txt","w",stdout);
^
0_0_34768309_32320.cpp:32:16: error: 'ans' was not declared in this scope
if(ans[i][j] != 0)break;
^
0_0_34768309_32320.cpp:34:24: error: 'printf' was not declared in this scope
printf("\"");
^
0_0_34768309_32320.cpp:36:25: error: 'ans' was not declared in this scope
printf("%d",ans[i][j]);
^
0_0_34768309_32320.cpp:36:34: error: 'printf' was not declared in this scope
printf("%d",ans[i][j]);
^
0_0_34768309_32320.cpp:37:23: error: 'printf' was not declared in this scope
printf("\",\n");
^
|