Problem | splithunny |
---|---|
User | ultbiaslia |
Submission Time | 2023-11-16 10:30:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void dfs(int, int)’:
splithunny.cpp:11:20: error: invalid types ‘bool[int]’ for array subscript
11 | if(visited[x][y]) return;
| ^
splithunny.cpp:12:17: error: invalid types ‘bool[int]’ for array subscript
12 | visited[x][y] = true;
| ^
splithunny.cpp:17:27: error: invalid types ‘bool[int]’ for array subscript
17 | if(!visited[nx][ny] && arrayi[nx][ny] == 'H') {
| ^
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:28:28: error: invalid types ‘bool[int]’ for array subscript
28 | if(visited[i][j] or arrayi[i][j] == '.')continue;
| ^