Problem | splithunny |
---|---|
User | justin271828 |
Submission Time | 2023-06-25 14:13:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void bfs(int, int, int*)’:
splithunny.cpp:8:14: error: invalid types ‘int[int]’ for array subscript
8 | dup_arr[y][x] = 0;
| ^
splithunny.cpp:9:10: error: ‘r’ was not declared in this scope
9 | if (y < r-1 and dup_arr[y+1][x] == 1) {
| ^
splithunny.cpp:9:32: error: invalid types ‘int[int]’ for array subscript
9 | if (y < r-1 and dup_arr[y+1][x] == 1) {
| ^
splithunny.cpp:12:30: error: invalid types ‘int[int]’ for array subscript
12 | if (y > 0 and dup_arr[y-1][x] == 1) {
| ^
splithunny.cpp:15:10: error: ‘c’ was not declared in this scope
15 | if (x < c-1 and arr[y][x+1] == 1) {
| ^
splithunny.cpp:15:18: error: ‘arr’ was not declared in this scope
15 | if (x < c-1 and arr[y][x+1] == 1) {
| ^~~
splithunny.cpp:18:16: erro