torrent.cpp: In function 'void dfs(int, int)':
torrent.cpp:27:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<ls[x].size();i++) {
~^~~~~~~~~~~~~
torrent.cpp: In function 'int prekomp(int, int)':
torrent.cpp:40:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<ls[x].size();i++) {
~^~~~~~~~~~~~~
torrent.cpp:47:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v.size();i++) {
~^~~~~~~~~
torrent.cpp: In function 'void func(int, int)':
torrent.cpp:63:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<ls[x].size();i++) {
~^~~~~~~~~~~~~
torrent.cpp: In function 'int main()':
torrent.cpp:94:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<ls[i].size();j++) {
~^~~~~~~~~~~~~
torrent.cpp:101:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<tr[i].size();j++) {
~^~~~~~~~~~~~~
torrent.cpp:86:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a1, &a2);
~~~~~^~~~~~~~~~~~~~~~~~