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

Compile Error

splithunny.cpp: In function ‘void dfs(int, int)’:
splithunny.cpp:18:43: error: lvalue required as left operand of assignment
18 | if(!visited[nx][ny] && arrayi[nx][ny] = 'H'){
| ^~~
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;
| ^~~