Problem | lratio |
---|---|
User | PlayVoltz |
Submission Time | 2023-10-03 13:45:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lratio.cpp: In constructor ‘node::node(long long int, long long int)’:
lratio.cpp:17:67: error: no matching function for call to ‘line::line()’
17 | node(int s, int e): s(s), e(e), m((s+e)/2), l(nullptr), r(nullptr){}
| ^
lratio.cpp:8:2: note: candidate: ‘line::line(long long int, long long int)’
8 | line (int m, int c): m(m), c(c){}
| ^~~~
lratio.cpp:8:2: note: candidate expects 2 arguments, 0 provided
lratio.cpp:6:8: note: candidate: ‘constexpr line::line(const line&)’
6 | struct line{
| ^~~~
lratio.cpp:6:8: note: candidate expects 1 argument, 0 provided
lratio.cpp:6:8: note: candidate: ‘constexpr line::line(line&&)’
lratio.cpp:6:8: note: candidate expects 1 argument, 0 provided