Problem lightningrod
User Kiameimon
Submission Time 2024-01-04 14:28:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp:10:2: error: ‘coord_t’ does not name a type
10 | coord_t x, y;
| ^~~~~~~
lightningrod.cpp: In member function ‘bool Point::operator<(const Point&) const’:
lightningrod.cpp:13:10: error: ‘x’ was not declared in this scope
13 | return x < p.x || (x == p.x && y < p.y);
| ^
lightningrod.cpp:13:16: error: ‘const struct Point’ has no member named ‘x’
13 | return x < p.x || (x == p.x && y < p.y);
| ^
lightningrod.cpp:13:29: error: ‘const struct Point’ has no member named ‘x’
13 | return x < p.x || (x == p.x && y < p.y);
| ^
lightningrod.cpp:13:34: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
13 | return x < p.x || (x == p.x && y < p.y);
| ^
| yn
lightningrod.cpp:13:40: error: ‘const struct Point’ has no mem