QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#800402#9783. Duloc Networkucup-team5928#Compile Error//C++202.1kb2024-12-06 10:00:372024-12-06 10:00:37

Details

answer.code: In function ‘int main()’:
answer.code:64:30: error: ‘mask’ was not declared in this scope; did you mean ‘std::filesystem::perms::mask’?
   64 |             if (res == 0 and mask != string(n, '1')) {
      |                              ^~~~
      |                              std::filesystem::perms::mask
In file included from /usr/include/c++/13/filesystem:48,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:200,
                 from answer.code:1:
/usr/include/c++/13/bits/fs_fwd.h:158:7: note: ‘std::filesystem::perms::mask’ declared here
  158 |       mask              = 07777,
      |       ^~~~