train.cpp: In function 'bool solve(int, int)':
train.cpp:16:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<g[i].size();k++){
^
train.cpp:23:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<g[i].size();k++){
^
train.cpp: In function 'bool solve2(int)':
train.cpp:38:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<g[i].size();k++){
^
train.cpp:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<g[i].size();k++){
^
train.cpp: In function 'std::vector<int> who_wins(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
train.cpp:60:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<u.size();i++) g[u[i]].push_back(v[i]);
^
train.cpp:65:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[i].size();j++){
^
train.cpp:71:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[i].size();j++){
^