Problem | grid |
---|---|
User | Henries |
Submission Time | 2024-10-25 09:38:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
grid.cpp:4:72: error: ‘h’ was not declared in this scope
4 | long long solve(pair<long long,long long>p,vector<string>&grid, int dp[h][w]){
| ^
grid.cpp:4:75: error: ‘w’ was not declared in this scope
4 | long long solve(pair<long long,long long>p,vector<string>&grid, int dp[h][w]){
| ^
grid.cpp: In function ‘long long int solve(...)’:
grid.cpp:5:6: error: ‘dp’ was not declared in this scope
5 | if (dp[p.first][p.second] != 0){
| ^~
grid.cpp:5:9: error: ‘p’ was not declared in this scope
5 | if (dp[p.first][p.second] != 0){
| ^
grid.cpp:8:6: error: ‘p’ was not declared in this scope
8 | if (p.first == 0 || p.second ==0){
| ^
grid.cpp:14:11: error: ‘grid’ was not declared in this scope
14 | else