/in/foo.cc: In function 'void BFS(int)':
/in/foo.cc:50:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < edge[u].size(); i++)
~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
ed =(1<<n+1)-1;
~^~
/in/foo.cc:91:25: warning: value computed is not used [-Wunused-value]
boat[j] == 1;
/in/foo.cc:106:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (boat1[0]==0 && flag[j] && boat1[0] != boat2[0] && tmp2.count()<=m)
~~~~~~~~~~~~^~~