| Problem | lightningrod |
|---|---|
| User | Kiameimon |
| Submission Time | 2024-01-04 14:35:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lightningrod.cpp: In function ‘std::vector<Point<long long int> > convexHull(std::vector<Point<long long int> >)’:
lightningrod.cpp:45:42: error: ‘all’ was not declared in this scope; did you mean ‘std::filesystem::perms::all’?
45 | for (int it = 2; it--; s = --t, reverse(all(pts)))
| ^~~
| std::filesystem::perms::all
In file included from /usr/include/c++/9/filesystem:36,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from lightningrod.cpp:1:
/usr/include/c++/9/bits/fs_fwd.h:147:7: note: ‘std::filesystem::perms::all’ declared here
147 | all = 0777,
| ^~~
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:68:14: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
68 |