train.cpp: In function 'std::vector<int> subtask1()':
train.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
25 | FOR(j, 0, g[i].e.size()){
| ~~~~~~~~~~~~~~~~~~~
train.cpp:25:3: note: in expansion of macro 'FOR'
25 | FOR(j, 0, g[i].e.size()){
| ^~~
train.cpp: In function 'std::vector<int> who_wins(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
train.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
57 | FOR(i, 0, u.size()){
| ~~~~~~~~~~~~~~
train.cpp:57:2: note: in expansion of macro 'FOR'
57 | FOR(i, 0, u.size()){
| ^~~
train.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
61 | FOR(i, 0, a.size()){
| ~~~~~~~~~~~~~~
train.cpp:61:2: note: in expansion of macro 'FOR'
61 | FOR(i, 0, a.size()){
| ^~~