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_22068457_26312.cpp:80:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_22068457_26312.cpp:80:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_22068457_26312.cpp:82:14: error: redefinition of 'const double eps'
 const double eps=1e-8;
              ^
0_0_22068457_26312.cpp:3:14: note: 'const double eps' previously defined here
 const double eps=1e-8;
              ^
0_0_22068457_26312.cpp:83:14: error: redefinition of 'const double PI'
 const double PI=acos(-1.0);
              ^
0_0_22068457_26312.cpp:4:14: note: 'const double PI' previously defined here
 const double PI=acos(-1.0);
              ^
0_0_22068457_26312.cpp:84:11: error: redefinition of 'const int maxn'
 const int maxn=1005;
           ^
0_0_22068457_26312.cpp:5:11: note: 'const int maxn' previously defined here
 const int maxn=1005;
           ^
0_0_22068457_26312.cpp:85:8: error: redefinition of 'struct Point'
 struct Point{
        ^
0_0_22068457_26312.cpp:6:8: error: previous definition of 'struct Point'
 struct Point{
        ^
0_0_22068457_26312.cpp:87:9: error: invalid type in declaration before ',' token
 }p[maxn],st[maxn];
         ^
0_0_22068457_26312.cpp:87:9: error: conflicting declaration 'int p [1005]'
0_0_22068457_26312.cpp:8:2: note: previous declaration as 'Point p [1005]'
 }p[maxn],st[maxn];
  ^
0_0_22068457_26312.cpp:87:17: error: conflicting declaration 'int st [1005]'
 }p[maxn],st[maxn];
                 ^
0_0_22068457_26312.cpp:8:10: note: previous declaration as 'Point st [1005]'
 }p[maxn],st[maxn];
          ^
0_0_22068457_26312.cpp:88:5: error: redefinition of 'int tot'
 int tot,top,t,n;
     ^
0_0_22068457_26312.cpp:9:5: note: 'int tot' previously declared here
 int tot,top,t,n;
     ^
0_0_22068457_26312.cpp:88:9: error: redefinition of 'int top'
 int tot,top,t,n;
         ^
0_0_22068457_26312.cpp:9:9: note: 'int top' previously declared here
 int tot,top,t,n;
         ^
0_0_22068457_26312.cpp:88:13: error: redefinition of 'int t'
 int tot,top,t,n;
             ^
0_0_22068457_26312.cpp:9:13: note: 'int t' previously declared here
 int tot,top,t,n;
             ^
0_0_22068457_26312.cpp:88:15: error: redefinition of 'int n'
 int tot,top,t,n;
               ^
0_0_22068457_26312.cpp:9:15: note: 'int n' previously declared here
 int tot,top,t,n;
               ^
0_0_22068457_26312.cpp: In function 'bool cmp(Point, Point)':
0_0_22068457_26312.cpp:91:6: error: redefinition of 'bool cmp(Point, Point)'
 bool cmp(const Point p1,const Point p2)
      ^
0_0_22068457_26312.cpp:12:6: note: 'bool cmp(Point, Point)' previously defined here
 bool cmp(const Point p1,const Point p2)
      ^
0_0_22068457_26312.cpp: In function 'double Dis(Point, Point)':
0_0_22068457_26312.cpp:95:8: error: redefinition of 'double Dis(Point, Point)'
 double Dis(Point p1,Point p2)
        ^
0_0_22068457_26312.cpp:16:8: note: 'double Dis(Point, Point)' previously defined here
 double Dis(Point p1,Point p2)
        ^
0_0_22068457_26312.cpp: In function 'void solve()':
0_0_22068457_26312.cpp:99:6: error: redefinition of 'void solve()'
 void solve()
      ^
0_0_22068457_26312.cpp:20:6: note: 'void solve()' previously defined here
 void solve()
      ^
0_0_22068457_26312.cpp: In function 'int main()':
0_0_22068457_26312.cpp:147:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_22068457_26312.cpp:68: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-30 10:54:16, Gzip enabled