QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#835709 | #9306. Tree Tweaking | 3un_larryfunc | Compile Error | / | / | C++14 | 7.0kb | 2024-12-28 14:07:38 | 2024-12-28 14:07:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘ll calc(vi&)’: answer.code:60:16: error: missing template arguments before ‘(’ token 60 | q.push(pair(st[1], 0)); | ^ answer.code:63:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 63 | auto [u, d] = q.front(); | ^ answer.code:66:34: error: missing template arguments before ‘(’ token 66 | if (ch[u][0]) q.push(pair(ch[u][0], d + 1)); | ^ answer.code:67:34: error: missing template arguments before ‘(’ token 67 | if (ch[u][1]) q.push(pair(ch[u][1], d + 1)); | ^