F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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");
                       ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-04-30 02:45:54, Gzip enabled