0_0_29231213_16658.cpp: In function 'void bfs()':
0_0_29231213_16658.cpp:74:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return ans;
^
0_0_29231213_16658.cpp: In function 'int main()':
0_0_29231213_16658.cpp:92:21: error: void value not ignored as it ought to be
int res=bfs();
^
|