Problem | wonhee |
---|---|
User | jerrielchangjiebin |
Submission Time | 2024-12-28 10:48:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wonhee.cpp: In lambda function:
wonhee.cpp:23:17: error: ‘function’ was not declared in this scope
23 | function<void(int, int)> dfs =
| ^~~~~~~~
wonhee.cpp:4:1: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
3 | #include <numeric>
+++ |+#include <functional>
4 |
wonhee.cpp:23:39: error: expression list treated as compound expression in functional cast [-fpermissive]
23 | function<void(int, int)> dfs =
| ^
wonhee.cpp:23:26: error: expected primary-expression before ‘void’
23 | function<void(int, int)> dfs =
| ^~~~
wonhee.cpp:43:21: error: ‘dfs’ was not declared in this scope
43 | dfs(start_r, start_c);
| ^~~
wonhee.cpp:55:47: erro