Problem chimera
User Shadow1
Submission Time 2024-08-27 16:01:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chimera.cpp: In function ‘void initialise(int, int, std::vector<int>)’:
chimera.cpp:22:26: error: ‘all’ was not declared in this scope; did you mean ‘std::filesystem::perms::all’?
22 | auto it = lower_bound(all(pos[i]), l);
| ^~~
| 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 chimera.cpp:1:
/usr/include/c++/9/bits/fs_fwd.h:147:7: note: ‘std::filesystem::perms::all’ declared here
147 | all = 0777,
| ^~~
chimera.cpp:28:8: error: ‘all’ was not declared in this scope; did you mean ‘std::filesystem::perms::all’?
28 | sort(all(d[l]));
| ^~~
| std::filesystem::perms::all
In file included from /usr/include/c++/9/filesystem:36,
from /usr/include/x86_64-linux-gnu/c++/9/bi