QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#483748 | #7313. Connected Spanning Subgraph | MaMengQi | Compile Error | / | / | C++98 | 841b | 2024-07-19 11:37:57 | 2024-07-19 11:37:57 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:4:7: error: expected nested-name-specifier before ‘ll’ 4 | using ll = long long; | ^~ answer.code: In function ‘void solve()’: answer.code:20:17: error: ‘function’ was not declared in this scope 20 | function<int(int u, int c)> dfs = [&] (int u, int c) { | ^~~~~~~~ answer.code:20:17: note: ‘std::function’ is only available from C++11 onwards answer.code:20:42: error: expression list treated as compound expression in functional cast [-fpermissive] 20 | function<int(int u, int c)> dfs = [&] (int u, int c) { | ^ answer.code:20:26: error: expected primary-expression before ‘int’ 20 | function<int(int u, int c)> dfs = [&] (int u, int c) { | ^~~ answer.code:30:25: error: ‘dfs’ was not declared in this scope; did you mean ‘ffs’? 30 | cout << dfs(1, 1) << "\n"; | ^~~ | ffs