Problem | milkweed |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-04-05 15:48:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
milkweed.cpp: In function ‘void bfs(int, int, int)’:
milkweed.cpp:10:8: error: ‘visited’ was not declared in this scope
10 | if(visited[x][y]) return;
| ^~~~~~~
milkweed.cpp:11:5: error: ‘visited’ was not declared in this scope
11 | visited[x][y] = true;
| ^~~~~~~
milkweed.cpp:15:38: error: ‘h’ was not declared in this scope
15 | if(newx<1 || newy<1 || newx>=h || newy>=w) continue;
| ^
milkweed.cpp:15:49: error: ‘w’ was not declared in this scope
15 | if(newx<1 || newy<1 || newx>=h || newy>=w) continue;
| ^
milkweed.cpp:16:13: error: ‘visitedball’ was not declared in this scope
16 | if(!visitedball[newx][newy] && arr[newx][newy] == '.'){
| ^~~~~~~~~~~
milkweed.cpp: In function ‘int main()’:
milkweed.cpp:29:9: error: ‘visited’ was