Problem | splithunny |
---|---|
User | Xiaoyang |
Submission Time | 2024-07-09 19:51:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void dfs(long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int)’:
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 | if(j!=0 && z[i][j-1] == "H"){dfs(i, j-1,k,l);};
| ^~~
splithunny.cpp: In function