| Problem | convexhull |
|---|---|
| User | hpesoj |
| Submission Time | 2022-12-26 23:26:09 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
convexhull.cpp: In member function ‘void lct::update(line)’:
convexhull.cpp:35:25: error: no matching function for call to ‘lct::L(long long int&)’
35 | bool lft = nl(s) > L(s), mid = nl(m) > L(m), rgt = nl(e) > L(e);
| ^
convexhull.cpp:26:7: note: candidate: ‘line lct::L()’
26 | line L();
| ^
convexhull.cpp:26:7: note: candidate expects 0 arguments, 1 provided
convexhull.cpp:36:6: error: ‘mid’ was not declared in this scope
36 | if(mid) swap(nl, L);
| ^~~
convexhull.cpp:36:20: error: invalid use of non-static member function ‘line lct::L()’
36 | if(mid) swap(nl, L);
| ^
convexhull.cpp:26:7: note: declared here
26 | line L();
| ^
convexhull.cpp:37:43: error: ‘rgt’ was not declared in this scope
37 | if(e - s == 1 or nl == line() or lft == rgt) return; //leaf node or default line or (better or worse line fo