Problem | convexhull |
---|---|
User | user123 |
Submission Time | 2023-10-09 10:16:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
convexhull.cpp:50:4: error: ISO C++ forbids declaration of ‘lctree’ with no type [-fpermissive]
50 | } *lctree;
| ^~~~~~
convexhull.cpp:71:1: error: expected ‘}’ at end of input
71 | }
| ^
convexhull.cpp:18:1: note: to match this ‘{’
18 | {
| ^
convexhull.cpp: In member function ‘void node::build()’:
convexhull.cpp:33:5: error: a function-definition is not allowed here before ‘{’ token
33 | {
| ^
convexhull.cpp:42:5: error: a function-definition is not allowed here before ‘{’ token
42 | {
| ^
convexhull.cpp: In member function ‘int node::main()’:
convexhull.cpp:54:12: error: cannot convert ‘node*’ to ‘int*’ in assignment
54 | lctree=new node(-1e9, 1e9);
| ^~~~~~~~~~~~~~~~~~~
| |
| node*
convexhull.cpp:62:21: error: request for member ‘update’ in ‘*((node*)this)->node::lctree’, which is of non-class