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_17208431_31461.cpp:68:11: error: redefinition of 'const int M'
 const int M=4000+5;
           ^
0_0_17208431_31461.cpp:9:11: note: 'const int M' previously defined here
 const int M=4000+5;
           ^
0_0_17208431_31461.cpp:69:11: error: redefinition of 'const int E'
 const int E=1000+5;
           ^
0_0_17208431_31461.cpp:10:11: note: 'const int E' previously defined here
 const int E=1000+5;
           ^
0_0_17208431_31461.cpp:73:16: error: redefinition of 'struct tagNode'
 typedef struct tagNode{
                ^
0_0_17208431_31461.cpp:14:16: error: previous definition of 'struct tagNode'
 typedef struct tagNode{
                ^
0_0_17208431_31461.cpp:79:6: error: invalid type in declaration before ';' token
 }Node;
      ^
0_0_17208431_31461.cpp:79:6: error: conflicting declaration 'typedef int Node'
0_0_17208431_31461.cpp:20:2: note: previous declaration as 'typedef struct tagNode Node'
 }Node;
  ^
0_0_17208431_31461.cpp:81:5: error: redefinition of 'int n'
 int n;
     ^
0_0_17208431_31461.cpp:22:5: note: 'int n' previously declared here
 int n;
     ^
0_0_17208431_31461.cpp:82:4: error: redefinition of 'LL L'
 LL L;
    ^
0_0_17208431_31461.cpp:23:4: note: 'LL L' previously declared here
 LL L;
    ^
0_0_17208431_31461.cpp:84:11: error: redefinition of 'LL dp [4005][3]'
 LL dp[M][3];
           ^
0_0_17208431_31461.cpp:25:4: note: 'LL dp [4005][3]' previously declared here
 LL dp[M][3];
    ^
0_0_17208431_31461.cpp:86:13: error: redefinition of 'Node nodes [1005]'
 Node nodes[E];
             ^
0_0_17208431_31461.cpp:27:6: note: 'Node nodes [1005]' previously declared here
 Node nodes[E];
      ^
0_0_17208431_31461.cpp: In function 'int main()':
0_0_17208431_31461.cpp:95:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17208431_31461.cpp:29:5: note: 'int main()' previously defined here
 int main()
     ^


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-11-16 19:14:38, Gzip enabled