/in/foo.cc: In member function 'bool Dinic::bfs()':
/in/foo.cc:47:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[x].size();i++)
~^~~~~~~~~~~~
/in/foo.cc: In member function 'int Dinic::dfs(int, int)':
/in/foo.cc:66:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int&i=cur[x];i<G[x].size();i++)//从上次考虑的弧开始,注意要使用引用,同时修改cur[x]
~^~~~~~~~~~~~
/in/foo.cc: In function 'void readin()':
/in/foo.cc:111:11: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
assert(u>0&&u<=n&&v>0&&v<=n&&m>0&&m<200);
^
/in/foo.cc:111:22: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
assert(u>0&&u<=n&&v>0&&v<=n&&m>0&&m<200);
^