0_0_37722300_18584.cpp: In function 'void read(Args& ...)':
0_0_37722300_18584.cpp:23:67: error: expected primary-expression before '...' token
template <typename... Args>void read(Args &...args) {(std::cin >> ... >> args);}
^
0_0_37722300_18584.cpp:23:67: error: expected ')' before '...' token
0_0_37722300_18584.cpp: In lambda function:
0_0_37722300_18584.cpp:145:14: error: expected unqualified-id before '[' token
auto [x0, y0] = o;
^
0_0_37722300_18584.cpp:147:27: error: 'x0' was not declared in this scope
lines.pb(Line(o, {x0 + 1, y0}));
^
0_0_37722300_18584.cpp:147:35: error: 'y0' was not declared in this scope
lines.pb(Line(o, {x0 + 1, y0}));
^
0_0_37722300_18584.cpp:147:38: error: no matching function for call to 'Line::Line(Point&, <brace-enclosed initializer list>)'
lines.pb(Line(o, {x0 + 1, y0}));
^
0_0_37722300_18584.cpp:147:38: note: candidates are:
0_0_37722300_18584.cpp:98:5: note: Line::Line(double, double, double)
Line(double a, double b, double c) {
^
0_0_37722300_18584.cpp:98:5: note: candidate expects 3 arguments, 2 provided
0_0_37722300_18584.cpp:90:5: note: Line::Line(Point, double)
Line(Point p, double angel) {
^
0_0_37722300_18584.cpp:90:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'double'
0_0_37722300_18584.cpp:88:5: note: Line::Line(Point, Point)
Line(Point p1, Point p2) : p1(p1), p2(p2) {}
^
0_0_37722300_18584.cpp:88:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'Point'
0_0_37722300_18584.cpp:86:5: note: Line::Line()
Line() {}
^
0_0_37722300_18584.cpp:86:5: note: candidate expects 0 arguments, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(const Line&)
struct Line {
^
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(Line&&)
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:148:38: error: no matching function for call to 'Line::Line(Point&, <brace-enclosed initializer list>)'
lines.pb(Line(o, {x0, y0 + 1}));
^
0_0_37722300_18584.cpp:148:38: note: candidates are:
0_0_37722300_18584.cpp:98:5: note: Line::Line(double, double, double)
Line(double a, double b, double c) {
^
0_0_37722300_18584.cpp:98:5: note: candidate expects 3 arguments, 2 provided
0_0_37722300_18584.cpp:90:5: note: Line::Line(Point, double)
Line(Point p, double angel) {
^
0_0_37722300_18584.cpp:90:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'double'
0_0_37722300_18584.cpp:88:5: note: Line::Line(Point, Point)
Line(Point p1, Point p2) : p1(p1), p2(p2) {}
^
0_0_37722300_18584.cpp:88:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'Point'
0_0_37722300_18584.cpp:86:5: note: Line::Line()
Line() {}
^
0_0_37722300_18584.cpp:86:5: note: candidate expects 0 arguments, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(const Line&)
struct Line {
^
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(Line&&)
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:149:42: error: no matching function for call to 'Line::Line(Point&, <brace-enclosed initializer list>)'
lines.pb(Line(o, {x0 + 1, y0 + 1}));
^
0_0_37722300_18584.cpp:149:42: note: candidates are:
0_0_37722300_18584.cpp:98:5: note: Line::Line(double, double, double)
Line(double a, double b, double c) {
^
0_0_37722300_18584.cpp:98:5: note: candidate expects 3 arguments, 2 provided
0_0_37722300_18584.cpp:90:5: note: Line::Line(Point, double)
Line(Point p, double angel) {
^
0_0_37722300_18584.cpp:90:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'double'
0_0_37722300_18584.cpp:88:5: note: Line::Line(Point, Point)
Line(Point p1, Point p2) : p1(p1), p2(p2) {}
^
0_0_37722300_18584.cpp:88:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'Point'
0_0_37722300_18584.cpp:86:5: note: Line::Line()
Line() {}
^
0_0_37722300_18584.cpp:86:5: note: candidate expects 0 arguments, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(const Line&)
struct Line {
^
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(Line&&)
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:150:42: error: no matching function for call to 'Line::Line(Point&, <brace-enclosed initializer list>)'
lines.pb(Line(o, {x0 - 1, y0 + 1}));
^
0_0_37722300_18584.cpp:150:42: note: candidates are:
0_0_37722300_18584.cpp:98:5: note: Line::Line(double, double, double)
Line(double a, double b, double c) {
^
0_0_37722300_18584.cpp:98:5: note: candidate expects 3 arguments, 2 provided
0_0_37722300_18584.cpp:90:5: note: Line::Line(Point, double)
Line(Point p, double angel) {
^
0_0_37722300_18584.cpp:90:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'double'
0_0_37722300_18584.cpp:88:5: note: Line::Line(Point, Point)
Line(Point p1, Point p2) : p1(p1), p2(p2) {}
^
0_0_37722300_18584.cpp:88:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'Point'
0_0_37722300_18584.cpp:86:5: note: Line::Line()
Line() {}
^
0_0_37722300_18584.cpp:86:5: note: candidate expects 0 arguments, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(const Line&)
struct Line {
^
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(Line&&)
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp: In lambda function:
0_0_37722300_18584.cpp:168:14: error: expected unqualified-id before '[' token
auto [x0, y0] = p[0];
^
0_0_37722300_18584.cpp:170:31: error: 'x0' was not declared in this scope
lines1.pb(Line(p[0], {x0 + 1, y0}));
^
0_0_37722300_18584.cpp:170:39: error: 'y0' was not declared in this scope
lines1.pb(Line(p[0], {x0 + 1, y0}));
^
0_0_37722300_18584.cpp:170:42: error: no matching function for call to 'Line::Line(__gnu_cxx::__alloc_traits<std::allocator<Point> >::value_type&, <brace-enclosed initializer list>)'
lines1.pb(Line(p[0], {x0 + 1, y0}));
^
0_0_37722300_18584.cpp:170:42: note: candidates are:
0_0_37722300_18584.cpp:98:5: note: Line::Line(double, double, double)
Line(double a, double b, double c) {
^
0_0_37722300_18584.cpp:98:5: note: candidate expects 3 arguments, 2 provided
0_0_37722300_18584.cpp:90:5: note: Line::Line(Point, double)
Line(Point p, double angel) {
^
0_0_37722300_18584.cpp:90:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'double'
0_0_37722300_18584.cpp:88:5: note: Line::Line(Point, Point)
Line(Point p1, Point p2) : p1(p1), p2(p2) {}
^
0_0_37722300_18584.cpp:88:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'Point'
0_0_37722300_18584.cpp:86:5: note: Line::Line()
Line() {}
^
0_0_37722300_18584.cpp:86:5: note: candidate expects 0 arguments, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(const Line&)
struct Line {
^
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:84:8: note: constexpr Line::Line(Line&&)
0_0_37722300_18584.cpp:84:8: note: candidate expects 1 argument, 2 provided
0_0_37722300_18584.cpp:171:42: error: no matching function for call to 'Line::Line(__gnu_cxx::__alloc_traits<std::allocator<Point> >::value_type&, <brace-enclosed initializer list>)'
lines1.pb(Line(p[0], {x0, y0 + 1}));
^
0_0_37722300_18584.cpp:171:42: note: candidates are:
0_0_37722300_18584.cpp:98:5: note: Line::Line(double, double, double)
Line(double a, double b, double c) {
^
0_0_37722300_18584.cpp:98:5: note: candidate expects 3 arguments, 2 provided
0_0_37722300_18584.cpp:90:5: note: Line::Line(Point, double)
Line(Point p, double angel) {
^
0_0_37722300_18584.cpp:90:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'double'
0_0_37722300_18584.cpp:88:5: note: Line::Line(Point, Point)
Line(Point p1, Point p2) : p1(p1), p2(p2) {}
^
0_0_37722300_18584.cpp:88:5: note: no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'Point'
0_0
|