Problem | runaway |
---|---|
User | NoobMugger420 |
Submission Time | 2024-12-16 10:24:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
runaway.cpp: In function ‘int main()’:
runaway.cpp:14:31: error: ‘all’ was not declared in this scope; did you mean ‘std::filesystem::perms::all’?
14 | auto it = lower_bound(all(a), x);
| ^~~
| 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 runaway.cpp:1:
/usr/include/c++/9/bits/fs_fwd.h:147:7: note: ‘std::filesystem::perms::all’ declared here
147 | all = 0777,
| ^~~
runaway.cpp:15:55: error: ‘el’ was not declared in this scope
15 | if(it == a.end()) cout << n - (*--a.end()) << el;
| ^~
runaway.cpp:16:51: error: ‘el’ was not declared in this scope
16 | else if(it == a.begin()) cout << *it-1 << el;