QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#600485 | #9345. Artful Paintings | ucup-team4583# | Compile Error | / | / | C++14 | 2.1kb | 2024-09-29 16:51:58 | 2024-09-29 16:51:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In lambda function: answer.code:32:27: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 32 | for (auto [l, r, k] : p1) e[r].emplace_back(l - 1, -k); | ^ answer.code:33:27: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 33 | for (auto [l, r, k] : p2) e[l - 1].emplace_back(r, lim - k); | ^ answer.code:36:66: error: ‘k’ was not declared in this scope 36 | e[0].emplace_back(n, lim), e[n].emplace_back(0, -k); | ^ answer.code:45:35: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 45 | for (auto [v, w] : e[u]) { | ^