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

Compile Error

splithunny.cpp: In function ‘void bfs(int, int)’:
splithunny.cpp:9:2: error: ‘dup_arr’ was not declared in this scope
9 | dup_arr[y][x] = 0;
| ^~~~~~~
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:27:17: error: cannot convert ‘int (*)[c]’ to ‘int*’ in initialization
27 | int *dup_arr = arr;
| ^~~
| |
| int (*)[c]