Problem flybot
User glog
Submission Time 2024-01-31 17:19:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp: In function ‘int main()’:
flybot.cpp:12:26: error: ‘grid’ was not declared in this scope
12 | if (i > 0 && grid[i - 1][j] != 'X') {
| ^~~~
flybot.cpp:15:26: error: ‘grid’ was not declared in this scope
15 | if (j > 0 && grid[i][j - 1] != 'X') {
| ^~~~