torrent.cpp: In function 'void dfs(int, int)':
torrent.cpp:12:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<tr[v].size();++i)
^
torrent.cpp: In function 'void dfs1(int, int)':
torrent.cpp:54:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<tr[v].size();++i)
^
torrent.cpp:62:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<tr[v].size();++i)
^
torrent.cpp: In function 'bool check(int)':
torrent.cpp:82:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<vv[i].size();++j)
^
torrent.cpp:90:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<tr[v].size();++k)
^
torrent.cpp: In function 'int main()':
torrent.cpp:129:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&a,&b);
^
torrent.cpp:133:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^