Problem | splithunny |
---|---|
User | aa24codebreaker |
Submission Time | 2023-11-15 14:33:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void dfs(int, int)’:
splithunny.cpp:11:6: error: ‘visted’ was not declared in this scope; did you mean ‘visited’?
11 | if (visted[x][y]) return;
| ^~~~~~
| visited
splithunny.cpp:15:18: error: invalid types ‘int[int]’ for array subscript
15 | int dy = x+dy[k];
| ^
splithunny.cpp:16:24: error: ‘ny’ was not declared in this scope; did you mean ‘dy’?
16 | if (nx<0 or nx>=h or ny<0 or ny>=w)continue;
| ^~
| dy
splithunny.cpp:17:19: error: ‘ny’ was not declared in this scope; did you mean ‘dy’?
17 | if(!visited[nx][ny] && arrayi[nx][ny]=='H'){
| ^~
| dy
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:24:2: error: ‘cin’ was not declared in this scope
24 | cin>>h>>w;
| ^~~
splithunny.cpp:32:2: e