Problem splithunny
User aa24codebreaker
Submission Time 2023-11-16 08:46:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘void dfs(int, int)’:
splithunny.cpp:18:17: error: expected ‘)’ before ‘]’ token
18 | if(!visited|nx][ny] && arrayi[nx][ny] = 'H'){
| ~ ^
| )
splithunny.cpp:18:17: error: expected primary-expression before ‘]’ token
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:29:39: error: lvalue required as left operand of assignment
29 | if(visited[i][j] or arrayi[i][j] = '.')continue;
| ^~~