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_6888219_7983.cpp:49: error: redefinition of `const int MAXSIZE'
0_0_6888219_7983.cpp:6: error: `const int MAXSIZE' previously defined here
0_0_6888219_7983.cpp:50: error: redefinition of `struct node'
0_0_6888219_7983.cpp:7: error: previous definition of `struct node'
0_0_6888219_7983.cpp:52: error: invalid type in declaration before ';' token
0_0_6888219_7983.cpp:52: error: conflicting declaration 'int L[5005]'
0_0_6888219_7983.cpp:9: error: 'L' has a previous declaration as `node L[5005]'
0_0_6888219_7983.cpp:52: error: type mismatch with previous external decl of `int L[5005]'
0_0_6888219_7983.cpp:9: error: previous external decl of `node L[5005]'
0_0_6888219_7983.cpp:52: error: declaration of `int L[5005]'
0_0_6888219_7983.cpp:9: error: conflicts with previous declaration `node L[5005]'
0_0_6888219_7983.cpp: In function `bool cmp(const node&, const node&)':
0_0_6888219_7983.cpp:53: error: redefinition of `bool cmp(const node&, const node&)'
0_0_6888219_7983.cpp:10: error: `bool cmp(const node&, const node&)' previously defined here
0_0_6888219_7983.cpp: At global scope:
0_0_6888219_7983.cpp:57: error: redefinition of `bool f[5005]'
0_0_6888219_7983.cpp:14: error: `bool f[5005]' previously declared here
0_0_6888219_7983.cpp: In function `int main()':
0_0_6888219_7983.cpp:58: error: redefinition of `int main()'
0_0_6888219_7983.cpp:15: error: `int main()' previously defined here


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-17 03:02:44, Gzip enabled