Problem convexhull
User Kiameimon
Submission Time 2023-12-24 15:56:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

convexhull.cpp:9:9: error: ‘pt’ was not declared in this scope
9 | vector<pt> hull, vecs;
| ^~
convexhull.cpp:9:11: error: template argument 1 is invalid
9 | vector<pt> hull, vecs;
| ^
convexhull.cpp:9:11: error: template argument 2 is invalid
convexhull.cpp: In constructor ‘lineContainer::lineContainer(long long int)’:
convexhull.cpp:10:28: error: request for member ‘reserve’ in ‘((lineContainer*)this)->lineContainer::hull’, which is of non-class type ‘int’
10 | lineContainer(int n){hull.reserve(n); vecs.reserve(n);};
| ^~~~~~~
convexhull.cpp:10:45: error: request for member ‘reserve’ in ‘((lineContainer*)this)->lineContainer::vecs’, which is of non-class type ‘int’
10 | lineContainer(int n){hull.reserve(n); vecs.reserve(n);};
| ^~~~~~~
convexhull.cpp: In member function ‘void lineContainer::add(l