Problem splithunny
User Xiaoyang
Submission Time 2024-07-09 19:51:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘void dfs(long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int)’:
splithunny.cpp:8:8: error: ‘vis’ was not declared in this scope
8 | if(vis[i][j])return;
| ^~~
splithunny.cpp:10:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
10 | if(i!=k && z[i+1][j] == "H"){dfs(i+1, j, k,l);};
| ^~~
splithunny.cpp:11:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | if(i!=0 && z[i-1][j] == "H"){dfs(i-1, j,k,l);};
| ^~~
splithunny.cpp:12:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | if(j!=l && z[i][j+1] == "H"){dfs(i, j+1,k,l);};
| ^~~
splithunny.cpp:13:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 |