Problem | splithunny |
---|---|
User | Schzeey |
Submission Time | 2023-02-20 15:13:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:13:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (arr[i][i] == "H"){
| ^~~
splithunny.cpp:14:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if (arr[i][j-1] == "H" || arr[i-1][j] == "H"){
| ^~~
splithunny.cpp:14:58: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if (arr[i][j-1] == "H" || arr[i-1][j] == "H"){
| ^~~
splithunny.cpp:18:61: error: expected ‘;’ before ‘}’ token
18 | dp[i][j] = max(dp[i-1][j], dp[i][j-1])+1
| ^
| ;
19 |