Problem | gecko |
---|---|
User | PlayVoltz |
Submission Time | 2023-07-07 09:30:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gecko.cpp: In function ‘int max_way(int, int, int, int)’:
gecko.cpp:8:18: error: invalid types ‘int[int]’ for array subscript
8 | return arr[y][x];
| ^
gecko.cpp:11:15: error: invalid types ‘int[int]’ for array subscript
11 | if (arrmax[y][x]==0){
| ^
gecko.cpp:12:12: error: invalid types ‘int[int]’ for array subscript
12 | arrmax[y][x] = max(max_way(y-1, x, n, m) + arr[y][x], max_way(y-1, x+1, n, m) + arr[y][x]);
| ^
gecko.cpp:12:55: error: invalid types ‘int[int]’ for array subscript
12 | arrmax[y][x] = max(max_way(y-1, x, n, m) + arr[y][x], max_way(y-1, x+1, n, m) + arr[y][x]);
| ^
gecko.cpp:12:92: error: invalid types ‘int[int]’ for array subscript
12 | arrmax[y][x] = max(max_way(y-1, x, n, m) + arr[y][x], max_way(y-1, x+1, n, m) + arr[y][x]);
|