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)
......
26 | FOR(j, 0, g[i].e.size()){
| ~~~~~~~~~~~~~~~~~~~
train.cpp:26:3: note: in expansion of macro 'FOR'
26 | FOR(j, 0, g[i].e.size()){
| ^~~
train.cpp: In function 'int s2dfs(int, 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)
......
66 | FOR(i, 0, g[start].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~~~
train.cpp:66:2: note: in expansion of macro 'FOR'
66 | FOR(i, 0, g[start].e.size()){
| ^~~
train.cpp: In function 'std::vector<int> subtask2()':
train.cpp:4:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define FOR(i, x, y) for(int i = x; i < y; ++i)
......
97 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:97:2: note: in expansion of macro 'FOR'
97 | FOR(i, 0, g.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)
......
105 | FOR(i, 0, u.size()){
| ~~~~~~~~~~~~~~
train.cpp:105:2: note: in expansion of macro 'FOR'
105 | 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)
......
109 | FOR(i, 0, a.size()){
| ~~~~~~~~~~~~~~
train.cpp:109:2: note: in expansion of macro 'FOR'
109 | FOR(i, 0, a.size()){
| ^~~