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_22152829_26269.cpp:34:8: error: macro names must be identifiers
 #define ht first
        ^
0_0_22152829_26269.cpp:35:8: error: macro names must be identifiers
 #define rs second
        ^
0_0_22152829_26269.cpp:7:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_22152829_26269.cpp:7:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_22152829_26269.cpp:7:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_22152829_26269.cpp:7:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_22152829_26269.cpp:9:14: error: 'complex' does not name a type
 typedef complex<double> pnt;
              ^
0_0_22152829_26269.cpp:9:35: error: 'pnt' does not name a type
 typedef complex<double> pnt;
                                   ^
0_0_22152829_26269.cpp:10:14: error: 'pair' does not name a type
 typedef pair<pnt,double> circle;
              ^
0_0_22152829_26269.cpp:10:36: error: 'circle' does not name a type
 typedef pair<pnt,double> circle;
                                    ^
0_0_22152829_26269.cpp:11:7: error: 'const int& nbsp' redeclared as different kind of symbol
 const int N = 1005;
       ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:11:16: error: 'int& nbsp' redeclared as different kind of symbol
 const int N = 1005;
                ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:11:21: error: 'N' does not name a type
 const int N = 1005;
                     ^
0_0_22152829_26269.cpp:11:28: error: expected unqualified-id before '=' token
 const int N = 1005;
                            ^
0_0_22152829_26269.cpp:11:35: error: expected unqualified-id before numeric constant
 const int N = 1005;
                                   ^
0_0_22152829_26269.cpp:12:7: error: 'const int& nbsp' redeclared as different kind of symbol
 const double eps = 1e-10;
       ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:12:19: error: 'double& nbsp' redeclared as different kind of symbol
 const double eps = 1e-10;
                   ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:12:24: error: 'eps' does not name a type
 const double eps = 1e-10;
                        ^
0_0_22152829_26269.cpp:12:33: error: expected unqualified-id before '=' token
 const double eps = 1e-10;
                                 ^
0_0_22152829_26269.cpp:12:40: error: expected unqualified-id before numeric constant
 const double eps = 1e-10;
                                        ^
0_0_22152829_26269.cpp:13:7: error: 'const int& nbsp' redeclared as different kind of symbol
 const double pi = acos(-1.0);
       ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:13:19: error: 'double& nbsp' redeclared as different kind of symbol
 const double pi = acos(-1.0);
                   ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:13:24: error: 'pi' does not name a type
 const double pi = acos(-1.0);
                        ^
0_0_22152829_26269.cpp:13:32: error: expected unqualified-id before '=' token
 const double pi = acos(-1.0);
                                ^
0_0_22152829_26269.cpp:13:43: error: expected constructor, destructor, or type conversion before '(' token
 const double pi = acos(-1.0);
                                           ^
0_0_22152829_26269.cpp:14:8: error: 'nbsp' declared as an 'inline' variable
 inline bool eq(double a, double b){return abs(b-a) < eps;}
        ^
0_0_22152829_26269.cpp:14:8: error: 'int& nbsp' redeclared as different kind of symbol
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:14:18: error: 'bool& nbsp' redeclared as different kind of symbol
 inline bool eq(double a, double b){return abs(b-a) < eps;}
                  ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:14:37: error: expected ')' before ';' token
 inline bool eq(double a, double b){return abs(b-a) < eps;}
                                     ^
0_0_22152829_26269.cpp:14:37: error: expected constructor, destructor, or type conversion before ';' token
0_0_22152829_26269.cpp:14:38: error: 'a' does not name a type
 inline bool eq(double a, double b){return abs(b-a) < eps;}
                                      ^
0_0_22152829_26269.cpp:14:53: error: 'double& nbsp' redeclared as different kind of symbol
 inline bool eq(double a, double b){return abs(b-a) < eps;}
                                                     ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:14:58: error: 'b' does not name a type
 inline bool eq(double a, double b){return abs(b-a) < eps;}
                                                          ^
0_0_22152829_26269.cpp:15:8: error: 'nbsp' declared as an 'inline' variable
 inline double fix(double arg) {
        ^
0_0_22152829_26269.cpp:15:8: error: 'int& nbsp' redeclared as different kind of symbol
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:15:20: error: 'double& nbsp' redeclared as different kind of symbol
 inline double fix(double arg) {
                    ^
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:15:40: error: expected ')' before ';' token
 inline double fix(double arg) {
                                        ^
0_0_22152829_26269.cpp:15:40: error: expected constructor, destructor, or type conversion before ';' token
0_0_22152829_26269.cpp:15:41: error: 'arg' does not name a type
 inline double fix(double arg) {
                                         ^
0_0_22152829_26269.cpp:15:51: error: expected unqualified-id before '{' token
 inline double fix(double arg) {
                                                   ^
0_0_22152829_26269.cpp:20:1: error: 'circle' does not name a type
 circle num[N];
 ^
0_0_22152829_26269.cpp:20:13: error: 'num' does not name a type
 circle num[N];
             ^
0_0_22152829_26269.cpp:21:7: error: expected identifier before '&' token
 struct line {
       ^
0_0_22152829_26269.cpp:21:12: error: invalid type in declaration before ';' token
 struct line {
            ^
0_0_22152829_26269.cpp:21:12: error: 'int& nbsp' redeclared as different kind of symbol
0_0_22152829_26269.cpp:10:9: note: previous declaration 'typedef int& nbsp'
 typedef pair<pnt,double> circle;
         ^
0_0_22152829_26269.cpp:21:13: error: 'line' does not name a type
 struct line {
             ^
0_0_22152829_26269.cpp:21:23: error: expected unqualified-id before '{' token
 struct line {
                       ^


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-26 02:22:04, Gzip enabled