Problem | chimera |
---|---|
User | AlphanumericUsername |
Submission Time | 2024-07-29 18:59:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
chimera.cpp: In function ‘void initialise(int, int, std::vector<int>)’:
chimera.cpp:25:3: error: ‘for0’ was not declared in this scope
25 | for0(n) cnt += (arr[i] <= 2);
| ^~~~
chimera.cpp: In function ‘int query(int, int)’:
chimera.cpp:48:27: error: ‘all’ was not declared in this scope; did you mean ‘std::filesystem::perms::all’?
48 | bool a = *lower_bound(all(ones), L) <= R;
| ^~~
| 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,
| ^~~