QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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)); | ^