Problem mushroomfarm
User YH
Submission Time 2024-03-14 21:04:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mushroomfarm.cpp: In function ‘int main()’:
mushroomfarm.cpp:76:26: error: cannot convert ‘int*’ to ‘int**’ in assignment
76 | memoisation_grid[y] = new int[r-c];
| ^~~~~~~~~~~~
| |
| int*
mushroomfarm.cpp:78:26: error: invalid types ‘int[int]’ for array subscript
78 | mushroom_grid[x][y][z] = -1;
| ^