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_21863169_20284.cpp:134:8: error: redefinition of 'struct point'
 struct point
        ^
0_0_21863169_20284.cpp:9:8: error: previous definition of 'struct point'
 struct point
        ^
0_0_21863169_20284.cpp:168:8: error: redefinition of 'struct line'
 struct line
        ^
0_0_21863169_20284.cpp:43:8: error: previous definition of 'struct line'
 struct line
        ^
0_0_21863169_20284.cpp:177:15: error: redefinition of 'point p [5005]'
 point p[MAXN+5];
               ^
0_0_21863169_20284.cpp:52:7: note: 'point p [5005]' previously declared here
 point p[MAXN+5];
       ^
0_0_21863169_20284.cpp:178:16: error: redefinition of 'double c [5005]'
 double c[MAXN+5];
                ^
0_0_21863169_20284.cpp:53:8: note: 'double c [5005]' previously declared here
 double c[MAXN+5];
        ^
0_0_21863169_20284.cpp:179:5: error: redefinition of 'int n'
 int n;
     ^
0_0_21863169_20284.cpp:54:5: note: 'int n' previously declared here
 int n;
     ^
0_0_21863169_20284.cpp:180:10: error: redefinition of 'point s [2]'
 point s[2];
          ^
0_0_21863169_20284.cpp:55:7: note: 'point s [2]' previously declared here
 point s[2];
       ^
0_0_21863169_20284.cpp: In function 'int sgn(double)':
0_0_21863169_20284.cpp:182:5: error: redefinition of 'int sgn(double)'
 int sgn(double x)
     ^
0_0_21863169_20284.cpp:57:5: note: 'int sgn(double)' previously defined here
 int sgn(double x)
     ^
0_0_21863169_20284.cpp: In function 'point Get_Intersect(line, line)':
0_0_21863169_20284.cpp:189:7: error: redefinition of 'point Get_Intersect(line, line)'
 point Get_Intersect(line a,line b)
       ^
0_0_21863169_20284.cpp:64:7: note: 'point Get_Intersect(line, line)' previously defined here
 point Get_Intersect(line a,line b)
       ^
0_0_21863169_20284.cpp: In function 'int main()':
0_0_21863169_20284.cpp:199:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21863169_20284.cpp:74: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-07-05 00:37:29, Gzip enabled