Problem | gecko |
---|---|
User | wtnetlegend |
Submission Time | 2025-03-19 23:07:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gecko.cpp: In function ‘int ans(std::vector<std::vector<int> >& (*)(int, std::vector<int> (*)(int)))’:
gecko.cpp:4:28: error: ‘h’ was not declared in this scope
4 | vector<vector<int>> dp(h, vector<int>(w));
| ^
gecko.cpp:4:43: error: ‘w’ was not declared in this scope
4 | vector<vector<int>> dp(h, vector<int>(w));
| ^
gecko.cpp:7:26: error: invalid conversion from ‘std::vector<std::vector<int> >& (*)(int, std::vector<int> (*)(int))’ to ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} [-fpermissive]
7 | dp[0][k] = v[0][k];
| ~~~~~~^
| |
| std::vector<std::vector<int> >& (*)(int, std::vector<int> (*)(int))
gecko.cpp:20:32: error: