/in/foo.cc: In function 'void spfa()':
/in/foo.cc:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<e1[now].size();i++){
~^~~~~~~~~~~~~~~
/in/foo.cc:27:23: warning: value computed is not used [-Wunused-value]
flag3[e1[now][i]]==1;
~~~~~~~~~~~~~~~~~^~~
/in/foo.cc: In function 'void dfs1(int)':
/in/foo.cc:36:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<e2[pos].size() ;i++){
~^~~~~~~~~~~~~~~
/in/foo.cc:37:42: error: 'dfs' was not declared in this scope
if(flag1[e2[pos][i]]==0) dfs(e2[pos][i]);
^
/in/foo.cc: In function 'void dfs2(int)':
/in/foo.cc:42:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<e1[pos].size() ;i++){
~^~~~~~~~~~~~~~~
/in/foo.cc:43:42: error: 'dfs' was not declared in this scope
if(flag4[e1[pos][i]]==0) dfs(e1[pos][i]);
^
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:51:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<e1[i].size() ;j++){
~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:7: error: 'dfs' was not declared in this scope
dfs(t);
^