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_3968459_10667.cpp:51: error: redefinition of `struct node'
0_0_3968459_10667.cpp:6: error: previous definition of `struct node'
0_0_3968459_10667.cpp:56: error: invalid type in declaration before ';' token
0_0_3968459_10667.cpp:56: error: conflicting declaration 'int s[600]'
0_0_3968459_10667.cpp:11: error: 's' has a previous declaration as `node s[600]'
0_0_3968459_10667.cpp:56: error: type mismatch with previous external decl of `int s[600]'
0_0_3968459_10667.cpp:11: error: previous external decl of `node s[600]'
0_0_3968459_10667.cpp:56: error: declaration of `int s[600]'
0_0_3968459_10667.cpp:11: error: conflicts with previous declaration `node s[600]'
0_0_3968459_10667.cpp: In function `bool cmp(const node&, const node&)':
0_0_3968459_10667.cpp:58: error: redefinition of `bool cmp(const node&, const node&)'
0_0_3968459_10667.cpp:13: error: `bool cmp(const node&, const node&)' previously defined here
0_0_3968459_10667.cpp: In function `int main()':
0_0_3968459_10667.cpp:65: error: redefinition of `int main()'
0_0_3968459_10667.cpp:20: 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-27 08:49:08, Gzip enabled