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_21882721_19128.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <math.h>
         ^
0_0_21882721_19128.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <algorithm>
         ^
0_0_21882721_19128.cpp:6:8: error: macro names must be identifiers
 #define maxN 300
        ^
0_0_21882721_19128.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_21882721_19128.cpp:5:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_21882721_19128.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_21882721_19128.cpp:5:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_21882721_19128.cpp:8:7: error: 'nbsp' declared as reference but not initialized
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp:8:19: error: conflicting declaration 'double& nbsp'
 const double eps = 1e-8;
                   ^
0_0_21882721_19128.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp:8:24: error: 'eps' does not name a type
 const double eps = 1e-8;
                        ^
0_0_21882721_19128.cpp:8:33: error: expected unqualified-id before '=' token
 const double eps = 1e-8;
                                 ^
0_0_21882721_19128.cpp:8:40: error: expected unqualified-id before numeric constant
 const double eps = 1e-8;
                                        ^
0_0_21882721_19128.cpp:22:9: error: 'typedef int& nbsp' redeclared as different kind of symbol
 typedef struct
         ^
0_0_21882721_19128.cpp:8:7: note: previous declaration 'const int& nbsp'
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp:24:8: error: redeclaration of 'int& <anonymous struct>::nbsp'
     double x,y;
        ^
0_0_21882721_19128.cpp:24:2: note: previous declaration 'int& <anonymous struct>::nbsp'
     double x,y;
  ^
0_0_21882721_19128.cpp:24:14: error: redeclaration of 'int& <anonymous struct>::nbsp'
     double x,y;
              ^
0_0_21882721_19128.cpp:24:2: note: previous declaration 'int& <anonymous struct>::nbsp'
     double x,y;
  ^
0_0_21882721_19128.cpp:24:20: error: redeclaration of 'int& <anonymous struct>::nbsp'
     double x,y;
                    ^
0_0_21882721_19128.cpp:24:2: note: previous declaration 'int& <anonymous struct>::nbsp'
     double x,y;
  ^
0_0_21882721_19128.cpp:24:32: error: redeclaration of 'double& <anonymous struct>::nbsp'
     double x,y;
                                ^
0_0_21882721_19128.cpp:24:2: note: previous declaration 'int& <anonymous struct>::nbsp'
     double x,y;
  ^
0_0_21882721_19128.cpp:24:37: error: 'x' does not name a type
     double x,y;
                                     ^
0_0_21882721_19128.cpp:25:2: error: use of deleted function '<anonymous struct>::<constructor>()'
 }point;
  ^
0_0_21882721_19128.cpp:23:1: note: '<anonymous struct>::<constructor>()' is implicitly deleted because the default definition would be ill-formed:
 {
 ^
0_0_21882721_19128.cpp:23:1: error: uninitialized reference member in 'struct<anonymous>'
0_0_21882721_19128.cpp:24:2: note: 'int& <anonymous struct>::nbsp' should be initialized
     double x,y;
  ^
0_0_21882721_19128.cpp:26:1: error: 'point' does not name a type
 point l[maxN*2];
 ^
0_0_21882721_19128.cpp:26:12: error: 'l' does not name a type
 point l[maxN*2];
            ^
0_0_21882721_19128.cpp:28:8: error: conflicting declaration 'double& nbsp'
 double direction(point p1,point p2, point p3)
        ^
0_0_21882721_19128.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp:28:22: error: expected constructor, destructor, or type conversion before '(' token
 double direction(point p1,point p2, point p3)
                      ^
0_0_21882721_19128.cpp:28:34: error: 'p1' does not name a type
 double direction(point p1,point p2, point p3)
                                  ^
0_0_21882721_19128.cpp:28:48: error: 'p2' does not name a type
 double direction(point p1,point p2, point p3)
                                                ^
0_0_21882721_19128.cpp:28:57: error: 'point' does not name a type
 double direction(point p1,point p2, point p3)
                                                         ^
0_0_21882721_19128.cpp:28:68: error: 'p3' does not name a type
 double direction(point p1,point p2, point p3)
                                                                    ^
0_0_21882721_19128.cpp:32:6: error: conflicting declaration 'bool& nbsp'
 bool online(point p1,point p2,point p3)
      ^
0_0_21882721_19128.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp:32:17: error: expected constructor, destructor, or type conversion before '(' token
 bool online(point p1,point p2,point p3)
                 ^
0_0_21882721_19128.cpp:32:29: error: 'p1' does not name a type
 bool online(point p1,point p2,point p3)
                             ^
0_0_21882721_19128.cpp:32:43: error: 'p2' does not name a type
 bool online(point p1,point p2,point p3)
                                           ^
0_0_21882721_19128.cpp:32:57: error: 'p3' does not name a type
 bool online(point p1,point p2,point p3)
                                                         ^
0_0_21882721_19128.cpp:37:6: error: conflicting declaration 'bool& nbsp'
 bool insect(point p1,point p2,point p3,point p4)
      ^
0_0_21882721_19128.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp:37:17: error: expected constructor, destructor, or type conversion before '(' token
 bool insect(point p1,point p2,point p3,point p4)
                 ^
0_0_21882721_19128.cpp:37:29: error: 'p1' does not name a type
 bool insect(point p1,point p2,point p3,point p4)
                             ^
0_0_21882721_19128.cpp:37:43: error: 'p2' does not name a type
 bool insect(point p1,point p2,point p3,point p4)
                                           ^
0_0_21882721_19128.cpp:37:57: error: 'p3' does not name a type
 bool insect(point p1,point p2,point p3,point p4)
                                                         ^
0_0_21882721_19128.cpp:37:71: error: 'p4' does not name a type
 bool insect(point p1,point p2,point p3,point p4)
                                                                       ^
0_0_21882721_19128.cpp:52:5: error: conflicting declaration 'int& nbsp'
 int main()
     ^
0_0_21882721_19128.cpp:8:7: note: previous declaration as 'const int& nbsp'
 const double eps = 1e-8;
       ^
0_0_21882721_19128.cpp: In function 'int main()':
0_0_21882721_19128.cpp:56:29: error: 'nbsp' declared as reference but not initialized
     int cnt = 0;
                             ^
0_0_21882721_19128.cpp:56:34: error: 'cnt' was not declared in this scope
     int cnt = 0;
                                  ^
0_0_21882721_19128.cpp:56:43: error: expected primary-expression before '=' token
     int cnt = 0;
                                           ^
0_0_21882721_19128.cpp:57:29: error: redeclaration of 'int& nbsp'
     int N,n,i,j,k;
                             ^
0_0_21882721_19128.cpp:56:29: note: 'int& nbsp' previously declared here
     int cnt = 0;
                             ^
0_0_21882721_19128.cpp:57:34: error: 'N' was not declared in this scope
     int N,n,i,j,k;
                                  ^
0_0_21882721_19128.cpp:57:36: error: 'n' was not declared in this scope
     int N,n,i,j,k;
                                    ^
0_0_21882721_19128.cpp:57:38: error: 'i' was not declared in this scope
     int N,n,i,j,k;
                                      ^
0_0_21882721_19128.cpp:57:40: error: 'j' was not declared in this scope
     int N,n,i,j,k;
                                        ^
0_0_21882721_19128.cpp:57:42: error: 'k' was not declared in this scope
     int N,n,i,j,k;
                                          ^
0_0_21882721_19128.cpp:58:30: error: conflicting declaration 'bool& nbsp'
     bool flag;
                              ^
0_0_21882721_19128.cpp:56:29: note: previous declaration as 'int& nbsp'
   &n


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 09:00:38, Gzip enabled