007.cpp: In function 'void bfs(int, int, int)':
007.cpp:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();++i) {
^
007.cpp: In function 'void go(int)':
007.cpp:43:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();++i) {
^
007.cpp: In function 'int main()':
007.cpp:68:6: warning: unused variable 'l' [-Wunused-variable]
int l=0,r=n,ans=-1,md;
^
007.cpp:68:10: warning: unused variable 'r' [-Wunused-variable]
int l=0,r=n,ans=-1,md;
^
007.cpp:68:14: warning: unused variable 'ans' [-Wunused-variable]
int l=0,r=n,ans=-1,md;
^
007.cpp:68:21: warning: unused variable 'md' [-Wunused-variable]
int l=0,r=n,ans=-1,md;
^
007.cpp:53: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:54: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:56:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&edge[i].st,&edge[i].nd);
^