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_33314066_16948.cpp:8:8: error: redeclaration of 'int& Node::nbsp'
     double x,y;
        ^
0_0_33314066_16948.cpp:8:2: note: previous declaration 'int& Node::nbsp'
     double x,y;
  ^
0_0_33314066_16948.cpp:8:14: error: redeclaration of 'int& Node::nbsp'
     double x,y;
              ^
0_0_33314066_16948.cpp:8:2: note: previous declaration 'int& Node::nbsp'
     double x,y;
  ^
0_0_33314066_16948.cpp:10:11: error: use of deleted function 'Node::Node()'
 node p[105],p1[101];
           ^
0_0_33314066_16948.cpp:7:16: note: 'Node::Node()' is implicitly deleted because the default definition would be ill-formed:
 typedef struct Node{
                ^
0_0_33314066_16948.cpp:7:16: error: uninitialized reference member in 'struct Node'
0_0_33314066_16948.cpp:8:2: note: 'int& Node::nbsp' should be initialized
     double x,y;
  ^
0_0_33314066_16948.cpp:10:19: error: use of deleted function 'Node::Node()'
 node p[105],p1[101];
                   ^
0_0_33314066_16948.cpp: In function 'double Direction(node, node, node)':
0_0_33314066_16948.cpp:12:2: error: 'nbsp' was not declared in this scope
     return (pk.x-pi.x)*(pj.y-pi.y)-(pj.x-pi.x)*(pk.y-pi.y);
  ^
0_0_33314066_16948.cpp: In function 'bool Segments_X(node, node, node, node)':
0_0_33314066_16948.cpp:16:2: error: 'nbsp' was not declared in this scope
     double d1,d2,d3,d4;
  ^
0_0_33314066_16948.cpp: In function 'int main()':
0_0_33314066_16948.cpp:26:2: error: 'nbsp' was not declared in this scope
     int 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-24 10:54:46, Gzip enabled