QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#226334#5425. Proposition Compositionlegenc6yCompile Error//C++144.7kb2023-10-25 20:25:172023-10-25 20:25:17

Details

answer.code: In function ‘void work()’:
answer.code:121:24: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
  121 |                 return 0;
      |                        ^
answer.code:146:28: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  146 |                 for (auto& [x, v] : rev[i]) {
      |                            ^
answer.code:169:28: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  169 |                 for (auto& [x, v] : qry[i])
      |                            ^