QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#566064#28. Corporate life (after hostile takover)3un_larryfuncCompile Error//C++142.2kb2024-09-15 22:57:422024-09-15 22:57:45

Details

answer.code: In constructor ‘main()::graph_t::graph_t(int)’:
answer.code:14:42: error: missing template arguments before ‘(’ token
   14 |                         adj = std::vector(n, std::vector<int>());
      |                                          ^
answer.code: In function ‘int main()’:
answer.code:81:19: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   81 |         for (auto [id, l, r, coef] : queries) {
      |                   ^