race.cpp: In function 'void dfs(int, int)':
race.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(i, 0, g[start].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~~~
race.cpp:28:2: note: in expansion of macro 'FOR'
28 | FOR(i, 0, g[start].e.size()){
| ^~~
race.cpp: In function 'void setup_LCA()':
race.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)
......
42 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
race.cpp:42:2: note: in expansion of macro 'FOR'
42 | FOR(i, 0, g.size()){
| ^~~
race.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)
......
43 | FOR(j, 1, g[i].l.size()){
| ~~~~~~~~~~~~~~~~~~~
race.cpp:43:3: note: in expansion of macro 'FOR'
43 | FOR(j, 1, g[i].l.size()){
| ^~~
race.cpp: In function 'void reset()':
race.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)
......
82 | FOR(i, 0, g.size()){
| ~~~~~~~~~~~~~~
race.cpp:82:2: note: in expansion of macro 'FOR'
82 | FOR(i, 0, g.size()){
| ^~~
race.cpp: In function 'void dfs2(int, int, int)':
race.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)
......
92 | FOR(i, 0, g[start].e.size()){
| ~~~~~~~~~~~~~~~~~~~~~~~
race.cpp:92:2: note: in expansion of macro 'FOR'
92 | FOR(i, 0, g[start].e.size()){
| ^~~