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_18912102_4022.cpp:116:11: error: redefinition of 'const int N'
 const int N=60;
           ^
0_0_18912102_4022.cpp:4:11: note: 'const int N' previously defined here
 const int N=60;
           ^
0_0_18912102_4022.cpp:117:14: error: redefinition of 'const double eps'
 const double eps=1e-9;
              ^
0_0_18912102_4022.cpp:5:14: note: 'const double eps' previously defined here
 const double eps=1e-9;
              ^
0_0_18912102_4022.cpp: In function 'int sgn(double)':
0_0_18912102_4022.cpp:119:5: error: redefinition of 'int sgn(double)'
 int sgn(double x){
     ^
0_0_18912102_4022.cpp:7:5: note: 'int sgn(double)' previously defined here
 int sgn(double x){
     ^
0_0_18912102_4022.cpp: At global scope:
0_0_18912102_4022.cpp:124:8: error: redefinition of 'struct point'
 struct point{
        ^
0_0_18912102_4022.cpp:12:8: error: previous definition of 'struct point'
 struct point{
        ^
0_0_18912102_4022.cpp:145:7: error: invalid type in declaration before ';' token
 }e[60];
       ^
0_0_18912102_4022.cpp:145:7: error: conflicting declaration 'int e [60]'
0_0_18912102_4022.cpp:33:2: note: previous declaration as 'point e [60]'
 }e[60];
  ^
0_0_18912102_4022.cpp:146:8: error: redefinition of 'struct plane'
 struct plane{
        ^
0_0_18912102_4022.cpp:34:8: error: previous definition of 'struct plane'
 struct plane{
        ^
0_0_18912102_4022.cpp:157:8: error: redefinition of 'struct poly'
 struct poly{
        ^
0_0_18912102_4022.cpp:45:8: error: previous definition of 'struct poly'
 struct poly{
        ^
0_0_18912102_4022.cpp: In function 'void solve_mian(int)':
0_0_18912102_4022.cpp:190:6: error: redefinition of 'void solve_mian(int)'
 void solve_mian(int n){
      ^
0_0_18912102_4022.cpp:78:6: note: 'void solve_mian(int)' previously defined here
 void solve_mian(int n){
      ^
0_0_18912102_4022.cpp: In function 'int main()':
0_0_18912102_4022.cpp:214:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18912102_4022.cpp:102: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-23 03:49:49, Gzip enabled