Problem | convexhull |
---|---|
User | chenweilian |
Submission Time | 2024-01-30 17:04:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
convexhull.cpp: In function ‘int main()’:
convexhull.cpp:140:23: error: cannot convert ‘line*’ to ‘line’
140 | root->upd(new line(a,b));
| ^~~~~~~~~~~~~
| |
| line*
convexhull.cpp:94:19: note: initializing argument 1 of ‘void node::upd(line)’
94 | void upd(line a) {
| ~~~~~^