QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#678352 | #9528. New Energy Vehicle | ucup-team122# | Compile Error | / | / | C++14 | 9.8kb | 2024-10-26 14:42:27 | 2024-10-26 14:42:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:341:37: error: missing template arguments before ‘(’ token 341 | rep(i, n) seg.update(i, pair(sz(xs[i]) ? xs[i][0] : INF / 2, i)); | ^ answer.code: In lambda function: answer.code:343:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 343 | auto [val, id] = seg.query(0, n); | ^ answer.code: In function ‘int main()’: answer.code:360:36: error: missing template arguments before ‘(’ token 360 | seg.update(nt, pair(is[nt] == sz(xs[nt]) ? INF / 2 : xs[nt][is[nt]], nt)); | ^ answer.code:363:53: error: missing template arguments before ‘(’ token 363 | if (rest[use] == 0) seg.update(use, pair(INF, use)); | ^