/in/foo.cc: In function 'bool bfs()':
/in/foo.cc:36:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<G[u].size();++i){
~^~~~~~~~~~~~
/in/foo.cc: In function 'long long int dfs(int, long long int)':
/in/foo.cc:50:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int &i=cur[x];i<G[x].size();++i){
~^~~~~~~~~~~~
/in/foo.cc: In function 'bool spfa(long long int&)':
/in/foo.cc:81:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<G[u].size();++i){
~^~~~~~~~~~~~