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_17197513_5242.cpp:125:2: error: stray '#' in program
 }#include<iostream>
  ^
0_0_17197513_5242.cpp:125:3: error: 'include' does not name a type
 }#include<iostream>
   ^
0_0_17197513_5242.cpp: In function 'int Fabs(double)':
0_0_17197513_5242.cpp:140:5: error: redefinition of 'int Fabs(double)'
 int Fabs(double d)
     ^
0_0_17197513_5242.cpp:16:5: note: 'int Fabs(double)' previously defined here
 int Fabs(double d)
     ^
0_0_17197513_5242.cpp: At global scope:
0_0_17197513_5242.cpp:146:8: error: redefinition of 'struct point'
 struct point 
        ^
0_0_17197513_5242.cpp:22:8: error: previous definition of 'struct point'
 struct point 
        ^
0_0_17197513_5242.cpp:149:7: error: invalid type in declaration before ',' token
 }p[10],sta[10];
       ^
0_0_17197513_5242.cpp:149:7: error: conflicting declaration 'int p [10]'
0_0_17197513_5242.cpp:25:2: note: previous declaration as 'point p [105]'
 }p[105],sta[105];
  ^
0_0_17197513_5242.cpp:149:14: error: conflicting declaration 'int sta [10]'
 }p[10],sta[10];
              ^
0_0_17197513_5242.cpp:25:9: note: previous declaration as 'point sta [105]'
 }p[105],sta[105];
         ^
0_0_17197513_5242.cpp:150:14: error: redefinition of 'int oper [8][2]'
 int oper[8][2]={0,1,0,-1,-1,0,1,0,1,1,1,-1,-1,1,-1,-1},top;
              ^
0_0_17197513_5242.cpp:26:5: note: 'int oper [8][2]' previously defined here
 int oper[8][2]={0,1,0,-1,-1,0,1,0,1,1,1,-1,-1,1,-1,-1},top;
     ^
0_0_17197513_5242.cpp:150:56: error: redefinition of 'int top'
 int oper[8][2]={0,1,0,-1,-1,0,1,0,1,1,1,-1,-1,1,-1,-1},top;
                                                        ^
0_0_17197513_5242.cpp:26:56: note: 'int top' previously declared here
 int oper[8][2]={0,1,0,-1,-1,0,1,0,1,1,1,-1,-1,1,-1,-1},top;
                                                        ^
0_0_17197513_5242.cpp: In function 'double x_multi(point, point, point)':
0_0_17197513_5242.cpp:152:8: error: redefinition of 'double x_multi(point, point, point)'
 double x_multi(point p1,point p2,point p3)    
        ^
0_0_17197513_5242.cpp:28:8: note: 'double x_multi(point, point, point)' previously defined here
 double x_multi(point p1,point p2,point p3)    
        ^
0_0_17197513_5242.cpp: In function 'double Dis(point, point)':
0_0_17197513_5242.cpp:157:8: error: redefinition of 'double Dis(point, point)'
 double Dis(point p1,point p2)
        ^
0_0_17197513_5242.cpp:33:8: note: 'double Dis(point, point)' previously defined here
 double Dis(point p1,point p2)
        ^
0_0_17197513_5242.cpp: In function 'bool cmp(point, point)':
0_0_17197513_5242.cpp:162:6: error: redefinition of 'bool cmp(point, point)'
 bool cmp(point a,point b)
      ^
0_0_17197513_5242.cpp:38:6: note: 'bool cmp(point, point)' previously defined here
 bool cmp(point a,point b)
      ^
0_0_17197513_5242.cpp: In function 'void Graham(int)':
0_0_17197513_5242.cpp:171:6: error: redefinition of 'void Graham(int)'
 void Graham(int n)
      ^
0_0_17197513_5242.cpp:47:6: note: 'void Graham(int)' previously defined here
 void Graham(int n)
      ^
0_0_17197513_5242.cpp: In function 'int main()':
0_0_17197513_5242.cpp:234:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17197513_5242.cpp:110: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-10-06 18:00:19, Gzip enabled