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_13810430_20227.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
0_0_13810430_20227.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdio>
         ^
0_0_13810430_20227.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdlib>
         ^
0_0_13810430_20227.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>
         ^
0_0_13810430_20227.cpp:6:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_13810430_20227.cpp:6:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_13810430_20227.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_13810430_20227.cpp:6:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_13810430_20227.cpp:7:7: error: 'nbsp' declared as reference but not initialized
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:7:16: error: conflicting declaration 'int& nbsp'
 const int N = 100005;
                ^
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:7:21: error: 'N' does not name a type
 const int N = 100005;
                     ^
0_0_13810430_20227.cpp:7:28: error: expected unqualified-id before '=' token
 const int N = 100005;
                            ^
0_0_13810430_20227.cpp:7:35: error: expected unqualified-id before numeric constant
 const int N = 100005;
                                   ^
0_0_13810430_20227.cpp:8:7: error: redefinition of 'const int& nbsp'
 const double MAX = 10e100;
       ^
0_0_13810430_20227.cpp:7:7: note: 'const int& nbsp' previously declared here
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:8:19: error: conflicting declaration 'double& nbsp'
 const double MAX = 10e100;
                   ^
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:8:24: error: 'MAX' does not name a type
 const double MAX = 10e100;
                        ^
0_0_13810430_20227.cpp:8:33: error: expected unqualified-id before '=' token
 const double MAX = 10e100;
                                 ^
0_0_13810430_20227.cpp:8:40: error: expected unqualified-id before numeric constant
 const double MAX = 10e100;
                                        ^
0_0_13810430_20227.cpp:9:7: error: redefinition of 'const int& nbsp'
 const double eps = 0.00001;
       ^
0_0_13810430_20227.cpp:7:7: note: 'const int& nbsp' previously declared here
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:9:19: error: conflicting declaration 'double& nbsp'
 const double eps = 0.00001;
                   ^
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:9:24: error: 'eps' does not name a type
 const double eps = 0.00001;
                        ^
0_0_13810430_20227.cpp:9:33: error: expected unqualified-id before '=' token
 const double eps = 0.00001;
                                 ^
0_0_13810430_20227.cpp:9:40: error: expected unqualified-id before numeric constant
 const double eps = 0.00001;
                                        ^
0_0_13810430_20227.cpp:10:9: error: 'typedef int& nbsp' redeclared as different kind of symbol
 typedef struct TYPE
         ^
0_0_13810430_20227.cpp:7:7: note: previous declaration 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:10:20: error: expected identifier before '&' token
 typedef struct TYPE
                    ^
0_0_13810430_20227.cpp:10:25: error: invalid type in declaration before ';' token
 typedef struct TYPE
                         ^
0_0_13810430_20227.cpp:10:25: error: conflicting declaration 'int& nbsp'
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:10:26: error: 'TYPE' does not name a type
 typedef struct TYPE
                          ^
0_0_13810430_20227.cpp:14:7: error: expected constructor, destructor, or type conversion before ';' token
 } Point;
       ^
0_0_13810430_20227.cpp:14:8: error: 'Point' does not name a type
 } Point;
        ^
0_0_13810430_20227.cpp:15:1: error: 'Point' does not name a type
 Point a[N], b[N], c[N];
 ^
0_0_13810430_20227.cpp:15:12: error: 'a' does not name a type
 Point a[N], b[N], c[N];
            ^
0_0_13810430_20227.cpp:15:23: error: 'b' does not name a type
 Point a[N], b[N], c[N];
                       ^
0_0_13810430_20227.cpp:15:34: error: 'c' does not name a type
 Point a[N], b[N], c[N];
                                  ^
0_0_13810430_20227.cpp:16:8: error: conflicting declaration 'double& nbsp'
 double closest(Point *, Point *, Point *, int, int);
        ^
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:16:20: error: expected constructor, destructor, or type conversion before '(' token
 double closest(Point *, Point *, Point *, int, int);
                    ^
0_0_13810430_20227.cpp:16:33: error: expected unqualified-id before ',' token
 double closest(Point *, Point *, Point *, int, int);
                                 ^
0_0_13810430_20227.cpp:16:33: error: expected constructor, destructor, or type conversion before ',' token
0_0_13810430_20227.cpp:16:39: error: expected constructor, destructor, or type conversion before ';' token
 double closest(Point *, Point *, Point *, int, int);
                                       ^
0_0_13810430_20227.cpp:16:40: error: 'Point' does not name a type
 double closest(Point *, Point *, Point *, int, int);
                                        ^
0_0_13810430_20227.cpp:16:52: error: expected unqualified-id before ',' token
 double closest(Point *, Point *, Point *, int, int);
                                                    ^
0_0_13810430_20227.cpp:16:52: error: expected constructor, destructor, or type conversion before ',' token
0_0_13810430_20227.cpp:16:58: error: expected constructor, destructor, or type conversion before ';' token
 double closest(Point *, Point *, Point *, int, int);
                                                          ^
0_0_13810430_20227.cpp:16:59: error: 'Point' does not name a type
 double closest(Point *, Point *, Point *, int, int);
                                                           ^
0_0_13810430_20227.cpp:16:71: error: expected unqualified-id before ',' token
 double closest(Point *, Point *, Point *, int, int);
                                                                       ^
0_0_13810430_20227.cpp:16:71: error: expected constructor, destructor, or type conversion before ',' token
0_0_13810430_20227.cpp:16:77: error: expected constructor, destructor, or type conversion before ';' token
 double closest(Point *, Point *, Point *, int, int);
                                                                             ^
0_0_13810430_20227.cpp:16:81: error: expected unqualified-id before ',' token
 double closest(Point *, Point *, Point *, int, int);
                                                                                 ^
0_0_13810430_20227.cpp:16:83: error: conflicting declaration 'int& nbsp'
 double closest(Point *, Point *, Point *, int, int);
                                                                                   ^
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:16:91: error: expected unqualified-id before ')' token
 double closest(Point *, Point *, Point *, int, int);
                                                                                           ^
0_0_13810430_20227.cpp:17:8: error: conflicting declaration 'double& nbsp'
 double dis(Point, Point);
        ^
0_0_13810430_20227.cpp:7:7: note: previous declaration as 'const int& nbsp'
 const int N = 100005;
       ^
0_0_13810430_20227.cpp:17:16: error: expected constructor, destructor, or type conversion before '(' token
 double dis(Point, Point);
                ^
0_0_13810430_20227.cpp:17:29: error: 'Point' does not name a type
 double dis(Point, Point);
           


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 07:10:09, Gzip enabled