Problem splithunny
User justin271828
Submission Time 2023-06-25 16:09:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp:8:10: error: array bound is not an integer constant before ‘]’ token
8 | int arr[r][c];
| ^
splithunny.cpp:8:13: error: array bound is not an integer constant before ‘]’ token
8 | int arr[r][c];
| ^
splithunny.cpp:9:9: error: array bound is not an integer constant before ‘]’ token
9 | bool v[r][c];
| ^
splithunny.cpp:9:12: error: array bound is not an integer constant before ‘]’ token
9 | bool v[r][c];
| ^
splithunny.cpp: In function ‘void bfs(int, int)’:
splithunny.cpp:18:2: error: ‘arr’ was not declared in this scope
18 | arr[y][x] = 0;
| ^~~
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:42:5: error: ‘arr’ was not declared in this scope
42 | arr[i][j] = 1;
| ^~~
splithunny.cpp:45:5: error: ‘arr’ was not declared in this scope
45 | arr[i][j] = 0;
| ^~~
splithunny.cpp:5