QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#688861 | #9230. Routing K-Codes | ucup-team1617# | Compile Error | / | / | C++23 | 3.0kb | 2024-10-30 14:00:01 | 2024-10-30 14:00:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:51:21: error: expected identifier before ‘this’ 51 | auto dp=[&](this auto&& dp, int ed) ->Info{ | ^~~~ answer.code:51:21: error: expected ‘,’ or ‘...’ before ‘this’ answer.code: In lambda function: answer.code:52:27: error: ‘ed’ was not declared in this scope; did you mean ‘hd’? 52 | if(is_mem[ed]) return mem[ed]; | ^~ | hd answer.code:54:28: error: ‘ed’ was not declared in this scope; did you mean ‘hd’? 54 | int n = to[ed]; | ^~ | hd answer.code:62:52: error: use of ‘dp’ before deduction of ‘auto’ 62 | children.push_back(dp(eid)); | ^~ answer.code: In function ‘int main()’: answer.code:26:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 26 | scanf("%d%d", &N, &M); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:39:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | int a, b; scanf("%d%d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~