0_0_35250609_12918.cpp: In function 'void processAns()':
0_0_35250609_12918.cpp:566:47: error: no matching function for call to 'Cross::Cross(Point2D, int&)'
stk[tp++] = Cross(Point2D(0, 0), i);
^
0_0_35250609_12918.cpp:566:47: note: candidates are:
0_0_35250609_12918.cpp:486:5: note: Cross::Cross(Vector2D&, int)
Cross(Vector2D& p, int i) : pre(p), index(i) {}
^
0_0_35250609_12918.cpp:486:5: note: no known conversion for argument 1 from 'Point2D' to 'Vector2D& {aka Point2D&}'
0_0_35250609_12918.cpp:485:5: note: Cross::Cross()
Cross() {}
^
0_0_35250609_12918.cpp:485:5: note: candidate expects 0 arguments, 2 provided
0_0_35250609_12918.cpp:481:8: note: constexpr Cross::Cross(const Cross&)
struct Cross {
^
0_0_35250609_12918.cpp:481:8: note: candidate expects 1 argument, 2 provided
0_0_35250609_12918.cpp:481:8: note: constexpr Cross::Cross(Cross&&)
0_0_35250609_12918.cpp:481:8: note: candidate expects 1 argument, 2 provided
0_0_35250609_12918.cpp:573:67: error: no matching function for call to 'Cross::Cross(Point2D, int&)'
stk[tp] = Cross(Ans[i] - Ans[stk[tp - 1].index], i);
^
0_0_35250609_12918.cpp:573:67: note: candidates are:
0_0_35250609_12918.cpp:486:5: note: Cross::Cross(Vector2D&, int)
Cross(Vector2D& p, int i) : pre(p), index(i) {}
^
0_0_35250609_12918.cpp:486:5: note: no known conversion for argument 1 from 'Point2D' to 'Vector2D& {aka Point2D&}'
0_0_35250609_12918.cpp:485:5: note: Cross::Cross()
Cross() {}
^
0_0_35250609_12918.cpp:485:5: note: candidate expects 0 arguments, 2 provided
0_0_35250609_12918.cpp:481:8: note: constexpr Cross::Cross(const Cross&)
struct Cross {
^
0_0_35250609_12918.cpp:481:8: note: candidate expects 1 argument, 2 provided
0_0_35250609_12918.cpp:481:8: note: constexpr Cross::Cross(Cross&&)
0_0_35250609_12918.cpp:481:8: note: candidate expects 1 argument, 2 provided
|