QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#184612#3098. Ancient MachineznstzCompile Error//C++203.1kb2023-09-20 22:51:452023-09-20 22:51:45

Details

Bruno.code:7:2: error: ‘ll’ does not name a type
    7 |  ll dp[71][2][2];
      |  ^~
Bruno.code:8:2: error: ‘ll’ does not name a type
    8 |  ll calc(vector <int> vec)
      |  ^~
Bruno.code: In function ‘void Bruno(int, int, std::vector<int>)’:
Bruno.code:38:3: error: ‘ll’ was not declared in this scope; did you mean ‘tl’?
   38 |   ll mask=0;
      |   ^~
      |   tl
Bruno.code:39:30: error: ‘mask’ was not declared in this scope; did you mean ‘std::filesystem::perms::mask’?
   39 |   for(int l=len2-1;l>=0;l--) mask*=2,mask+=A[j],j++;
      |                              ^~~~
      |                              std::filesystem::perms::mask
In file included from /usr/include/c++/10/filesystem:44,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
                 from Bruno.code:2:
/usr/include/c++/10/bits/fs_fwd.h:152:7: note: ‘std::filesystem::perms::mask’ declared here
  152 |       mask  = 07777,
      |       ^~~~
Bruno.code:46:6: error: expected ‘;’ before ‘t’
   46 |    ll t=Bdp.calc(nw);
      |      ^~
      |      ;
Bruno.code:47:7: error: ‘t’ was not declared in this scope
   47 |    if(t>mask) nw[l]=0;
      |       ^
Bruno.code:47:9: error: ‘mask’ was not declared in this scope; did you mean ‘std::filesystem::perms::mask’?
   47 |    if(t>mask) nw[l]=0;
      |         ^~~~
      |         std::filesystem::perms::mask
In file included from /usr/include/c++/10/filesystem:44,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:129,
                 from Bruno.code:2:
/usr/include/c++/10/bits/fs_fwd.h:152:7: note: ‘std::filesystem::perms::mask’ declared here
  152 |       mask  = 07777,
      |       ^~~~