QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#215526#4801. The PoolLet it Rot (Yi Qian, Bo Peng, Shiyuan Feng) Compile Error//C++145.0kb2023-10-15 11:27:492023-10-15 11:27:50

Details

answer.code: In function ‘void Main()’:
answer.code:156:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  156 |     for(auto [x, y] : mp) {
      |              ^
answer.code:188:12: error: ‘T’ was not declared in this scope
  188 |         if(T <= 10) cout << sum << '\n';
      |            ^