/in/foo.cc: In function 'void dfs1(int, int)':
/in/foo.cc:17:18: warning: statement has no effect [-Wunused-value]
minn == s;
~~~~~^~~~
/in/foo.cc:23:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[k].size(); i++)
~^~~~~~~~~~~~
/in/foo.cc:22:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
/in/foo.cc: In function 'void dfs(int, int, std::vector<int>)':
/in/foo.cc:66:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<v.size(); i++)
~^~~~~~~~~
/in/foo.cc:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<G[node].size(); j++)
~^~~~~~~~~~~~~~~
/in/foo.cc:82:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<cur.size(); i++)
~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:97:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, k;
^
/in/foo.cc:97:15: warning: unused variable 'k' [-Wunused-variable]
int i, j, k;
^