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)
......
28 | FOR(j, 0, g[i].e.size()){
| ~~~~~~~~~~~~~~~~~~~
train.cpp:28:3: note: in expansion of macro 'FOR'
28 | 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)
......
68 | FOR(i, 0, g[start].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~~~
train.cpp:68:2: note: in expansion of macro 'FOR'
68 | 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)
......
101 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:101:2: note: in expansion of macro 'FOR'
101 | FOR(i, 0, g.size()){
| ^~~
train.cpp: In function 'void reset()':
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)
......
110 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:110:2: note: in expansion of macro 'FOR'
110 | FOR(i, 0, g.size()){
| ^~~
train.cpp: In function 'void mark(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)
......
117 | FOR(i, 0, g[cur].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~
train.cpp:117:2: note: in expansion of macro 'FOR'
117 | FOR(i, 0, g[cur].e.size()){
| ^~~
train.cpp: In function 'std::vector<int> subtask3()':
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)
......
135 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:135:2: note: in expansion of macro 'FOR'
135 | FOR(i, 0, g.size()){
| ^~~
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)
......
141 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:141:2: note: in expansion of macro 'FOR'
141 | FOR(i, 0, g.size()){
| ^~~
train.cpp: In function 'void Mark(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)
......
154 | FOR(i, 0, g[cur].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~
train.cpp:154:2: note: in expansion of macro 'FOR'
154 | FOR(i, 0, g[cur].e.size()){
| ^~~
train.cpp: In function 'void check(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)
......
172 | FOR(i, 0, g[start].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~~~
train.cpp:172:2: note: in expansion of macro 'FOR'
172 | FOR(i, 0, g[start].e.size()){
| ^~~
train.cpp: In function 'std::vector<int> subtask4()':
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)
......
185 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:185:2: note: in expansion of macro 'FOR'
185 | FOR(i, 0, g.size()){
| ^~~
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)
......
191 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
train.cpp:191:2: note: in expansion of macro 'FOR'
191 | 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)
......
212 | FOR(i, 0, u.size()){
| ~~~~~~~~~~~~~~
train.cpp:212:2: note: in expansion of macro 'FOR'
212 | 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)
......
217 | FOR(i, 0, a.size()){
| ~~~~~~~~~~~~~~
train.cpp:217:2: note: in expansion of macro 'FOR'
217 | FOR(i, 0, a.size()){
| ^~~
train.cpp:229:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
229 | else if (sum == a.size()){
| ~~~~^~~~~~~~~~~