QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#877238#9676. AncestorskintsgiCompile Error//C++144.1kb2025-01-31 20:34:432025-01-31 20:34:55

Details

answer.code: In function ‘void cdq(int, int)’:
answer.code:50:23: error: ‘vec’ was not declared in this scope
   50 |   vector<Node>().swap(vec);
      |                       ^~~
answer.code: In function ‘void work(std::vector<int>&)’:
answer.code:98:13: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   98 |   for (auto [t, id] : s) mg(nd[id - 1], nd[id], t);
      |             ^