0_0_23652302_29622.cpp: In function 'void bfs(int)':
0_0_23652302_29622.cpp:107:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return ans;
^
0_0_23652302_29622.cpp: In function 'int main()':
0_0_23652302_29622.cpp:125:25: error: void value not ignored as it ought to be
int mx = bfs(pos);
^
|