Problem | splithunny |
---|---|
User | boaznumberd5555 |
Submission Time | 2023-11-23 21:50:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘int’
5 | int dy[4] = {0,0,-1,1}
| ^~~
splithunny.cpp:9:1: error: expected initializer before ‘void’
9 | void dfs(int x, int y){
| ^~~~
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:30:16: error: ‘visitedball’ was not declared in this scope
30 | if(visitedball[i][j] = true || ball[i][j] = '.') continue;
| ^~~~~~~~~~~
splithunny.cpp:30:57: error: lvalue required as left operand of assignment
30 | if(visitedball[i][j] = true || ball[i][j] = '.') continue;
| ^~~
splithunny.cpp:31:13: error: ‘dfs’ was not declared in this scope; did you mean ‘ffs’?
31 | dfs(i,j);
| ^~~
| ffs