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_23207839_20642.cpp:42:19: error: expected ')' before ',' token
     Point(doublex0,double y0):x(x0),y(y0){}
                   ^
0_0_23207839_20642.cpp: In member function 'Point Point::operator*(double)':
0_0_23207839_20642.cpp:69:21: error: no matching function for call to 'Point::Point(double, double)'
 return Point(t*x,t*y);
                     ^
0_0_23207839_20642.cpp:69:21: note: candidates are:
0_0_23207839_20642.cpp:40:1: note: Point::Point()
 Point(){}
 ^
0_0_23207839_20642.cpp:40:1: note:   candidate expects 0 arguments, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(Point&&)
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp: In member function 'Point Point::operator-(Point)':
0_0_23207839_20642.cpp:108:27: error: no matching function for call to 'Point::Point(double, double)'
 return Point(x-pt.x,y-pt.y);
                           ^
0_0_23207839_20642.cpp:108:27: note: candidates are:
0_0_23207839_20642.cpp:40:1: note: Point::Point()
 Point(){}
 ^
0_0_23207839_20642.cpp:40:1: note:   candidate expects 0 arguments, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(Point&&)
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp: In member function 'Point Point::operator+(Point)':
0_0_23207839_20642.cpp:117:27: error: no matching function for call to 'Point::Point(double, double)'
 return Point(x+pt.x,y+pt.y);
                           ^
0_0_23207839_20642.cpp:117:27: note: candidates are:
0_0_23207839_20642.cpp:40:1: note: Point::Point()
 Point(){}
 ^
0_0_23207839_20642.cpp:40:1: note:   candidate expects 0 arguments, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(Point&&)
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp: In function 'bool Point_line(Point, Point, Point, double)':
0_0_23207839_20642.cpp:331:44: error: no matching function for call to 'Point::Point(double, double)'
     Point tmp=Point(b.y-a.y+o.x,a.x-b.x+o.y);
                                            ^
0_0_23207839_20642.cpp:331:44: note: candidates are:
0_0_23207839_20642.cpp:40:1: note: Point::Point()
 Point(){}
 ^
0_0_23207839_20642.cpp:40:1: note:   candidate expects 0 arguments, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(const Point&)
 struct Point
        ^
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp:32:8: note: constexpr Point::Point(Point&&)
0_0_23207839_20642.cpp:32:8: note:   candidate expects 1 argument, 2 provided
0_0_23207839_20642.cpp: At global scope:
0_0_23207839_20642.cpp:402:59: error: 'doubled' has not been declared
 bool Judge(Point p[],int n,bool hash1[],int tn,Point tp[],doubled)
                                                           ^
0_0_23207839_20642.cpp: In function 'bool Judge(Point*, int, bool*, int, Point*, int)':
0_0_23207839_20642.cpp:417:50: error: 'd' was not declared in this scope
 if(!In_polygon(tp[i],p,n) &&Point_line(tp[i],p,n,d) )
                                                  ^


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-29 19:23:41, Gzip enabled