Problem collectmushrooms6
User Johnnie
Submission Time 2023-11-16 22:13:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:16:11: error: ‘grid’ was not declared in this scope
16 | cin >> grid[i][j];
| ^~~~
collectmushrooms6.cpp:24:8: error: ‘grid’ was not declared in this scope
24 | if (grid[i][j] == 's')
| ^~~~
collectmushrooms6.cpp:43:8: error: ‘grid’ was not declared in this scope
43 | if (grid[i][j] == 'M')
| ^~~~