QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#275497#7795. 茧txl16211Compile Error//C++173.0kb2023-12-04 19:35:502023-12-04 19:35:51

Details

answer.code: In function ‘void Subtask1::main()’:
answer.code:41:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   41 |                 for(rg int i=1;i<=n;i+=1)Xor^=calc();
      |                            ^
answer.code: In function ‘void Subtask3::init()’:
answer.code:70:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   70 |                 for(rg int i=2;i<(1<<20);i+=1)
      |                            ^
answer.code: In function ‘void Subtask3::main()’:
answer.code:82:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   82 |                 for(rg int i=1;i<=n;i+=1)Xor^=calc();
      |                            ^
answer.code: In function ‘void Subtask5::init()’:
answer.code:111:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  111 |                 for(rg int i=2;i<(1<<12);i+=1)
      |                            ^
answer.code:119:42: error: ‘Subask1’ has not been declared
  119 |                         if(bet)Value[i]^=Subask1::S(bet-1);
      |                                          ^~~~~~~
answer.code: In function ‘void Subtask5::main()’:
answer.code:126:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  126 |                 for(rg int i=1;i<=n;i+=1)Xor^=calc();
      |                            ^