Problem pandanumbers
User jeongwonho64
Submission Time 2023-12-04 14:51:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pandanumbers.cpp: In function ‘int main()’:
pandanumbers.cpp:181:33: error: ‘mask’ was not declared in this scope; did you mean ‘std::filesystem::perms::mask’?
181 | if((i & mask2) == mask2)ans[mask][i]++;
| ^~~~
| std::filesystem::perms::mask
In file included from /usr/include/c++/9/filesystem:36,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:129,
from pandanumbers.cpp:1:
/usr/include/c++/9/bits/fs_fwd.h:151:7: note: ‘std::filesystem::perms::mask’ declared here
151 | mask = 07777,
| ^~~~
pandanumbers.cpp:186:33: error: ‘mask’ was not declared in this scope; did you mean ‘std::filesystem::perms::mask’?
186 | if((i & mask2) == mask2)ans[mask][i]--;
| ^~~~
| std::filesystem::perms::mask
In file included from /usr/includ