Problem splithunny
User blob
Submission Time 2023-11-20 14:40:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘void bfs(int, int)’:
splithunny.cpp:11:17: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
11 | ground[i][j] = ".";
| ^~~
| |
| const char*
splithunny.cpp:30:18: error: a function-definition is not allowed here before ‘{’ token
30 | int HunnyPool() {
| ^
splithunny.cpp:43:11: error: a function-definition is not allowed here before ‘{’ token
43 | int main(){
| ^
splithunny.cpp:55:1: error: expected ‘}’ at end of input
55 | }
| ^
splithunny.cpp:8:24: note: to match this ‘{’
8 | void bfs (int i, int j){
| ^