Problem | lightningrod |
---|---|
User | Kiameimon |
Submission Time | 2024-01-04 13:50:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lightningrod.cpp: In function ‘std::vector<std::complex<long long int> > convexHull(std::vector<std::complex<long long int> >)’:
lightningrod.cpp:37:20: error: ‘i’ was not declared in this scope
37 | hull[k++] = pts[i];
| ^
lightningrod.cpp: At global scope:
lightningrod.cpp:39:2: error: ‘hull’ does not name a type; did you mean ‘ll’?
39 | hull.resize(k);
| ^~~~
| ll
lightningrod.cpp:40:2: error: expected unqualified-id before ‘return’
40 | return hull;
| ^~~~~~
lightningrod.cpp:41:1: error: expected declaration before ‘}’ token
41 | }
| ^