007.cpp: In function 'void dfs(int, int)':
007.cpp:24:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vec[v].size();i++)
^
007.cpp: In function 'void build()':
007.cpp:42:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vec[v].size();i++)
^
007.cpp:58:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vec[v].size();i++)
^
007.cpp:84:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vec[v].size();i++)
^
007.cpp: In function 'bool check(int)':
007.cpp:108:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<nd[X].size();i++)
^
007.cpp:119:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<nd[X].size();i++)
^
007.cpp:129:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
007.cpp: In function 'int main()':
007.cpp:132:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
007.cpp:133:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&s,&d,&a,&b);
^
007.cpp:138:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&s,&t);s--,t--;
^