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_37176223_153.cpp: In constructor 'Line::Line()':
0_0_37176223_153.cpp:40:11: error: no matching function for call to 'Point::Point()'
     Line(){} 
           ^
0_0_37176223_153.cpp:40:11: note: candidates are:
0_0_37176223_153.cpp:17:5: note: Point::Point(double, double)
     Point(double _x,double _y)
     ^
0_0_37176223_153.cpp:17:5: note:   candidate expects 2 arguments, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(Point&&)
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:40:11: error: no matching function for call to 'Point::Point()'
     Line(){} 
           ^
0_0_37176223_153.cpp:40:11: note: candidates are:
0_0_37176223_153.cpp:17:5: note: Point::Point(double, double)
     Point(double _x,double _y)
     ^
0_0_37176223_153.cpp:17:5: note:   candidate expects 2 arguments, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(Point&&)
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp: In constructor 'Line::Line(Point, Point)':
0_0_37176223_153.cpp:41:29: error: no matching function for call to 'Point::Point()'
     Line(Point _s,Point _e) {         
                             ^
0_0_37176223_153.cpp:41:29: note: candidates are:
0_0_37176223_153.cpp:17:5: note: Point::Point(double, double)
     Point(double _x,double _y)
     ^
0_0_37176223_153.cpp:17:5: note:   candidate expects 2 arguments, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(Point&&)
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:41:29: error: no matching function for call to 'Point::Point()'
     Line(Point _s,Point _e) {         
                             ^
0_0_37176223_153.cpp:41:29: note: candidates are:
0_0_37176223_153.cpp:17:5: note: Point::Point(double, double)
     Point(double _x,double _y)
     ^
0_0_37176223_153.cpp:17:5: note:   candidate expects 2 arguments, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(Point&&)
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp: At global scope:
0_0_37176223_153.cpp:51:16: error: no matching function for call to 'Point::Point()'
 Point List[MAXN];
                ^
0_0_37176223_153.cpp:51:16: note: candidates are:
0_0_37176223_153.cpp:17:5: note: Point::Point(double, double)
     Point(double _x,double _y)
     ^
0_0_37176223_153.cpp:17:5: note:   candidate expects 2 arguments, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(Point&&)
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp: In function 'void Graham(int)':
0_0_37176223_153.cpp:66:11: error: no matching function for call to 'Point::Point()'
     Point p0;
           ^
0_0_37176223_153.cpp:66:11: note: candidates are:
0_0_37176223_153.cpp:17:5: note: Point::Point(double, double)
     Point(double _x,double _y)
     ^
0_0_37176223_153.cpp:17:5: note:   candidate expects 2 arguments, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_37176223_153.cpp:13:8: note: constexpr Point::Point(Point&&)
0_0_37176223_153.cpp:13:8: note:   candidate expects 1 argument, 0 provided


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-28 23:46:32, Gzip enabled