Problem | discharging |
---|---|
User | user123 |
Submission Time | 2024-02-10 12:34:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
discharging.cpp: In member function ‘void LCT::insert(line)’:
discharging.cpp:36:26: error: no match for call to ‘(line) ()’
36 | if (l==r || x==v() || bl==br) return;
| ^
discharging.cpp:13:9: note: candidate: ‘long long int line::operator()(long long int)’
13 | int operator()(int x) { return a*x+b; }
| ^~~~~~~~
discharging.cpp:13:9: note: candidate expects 1 argument, 0 provided