catinatree.cpp: In function 'void dfs1(int, int)':
catinatree.cpp:7:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define f(i,a,b) for(int i=a;i<b;i++)
......
30 | f(i,0,g[x].size()){
| ~~~~~~~~~~~~~~~
catinatree.cpp:30:3: note: in expansion of macro 'f'
30 | f(i,0,g[x].size()){
| ^
catinatree.cpp: In function 'void dfs2(int, int, int)':
catinatree.cpp:7:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define f(i,a,b) for(int i=a;i<b;i++)
......
40 | f(i,0,g[x].size()){
| ~~~~~~~~~~~~~~~
catinatree.cpp:40:3: note: in expansion of macro 'f'
40 | f(i,0,g[x].size()){
| ^
catinatree.cpp: In function 'int main()':
catinatree.cpp:7:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | #define f(i,a,b) for(int i=a;i<b;i++)
......
58 | f(i,0,v.size()){
| ~~~~~~~~~~~~
catinatree.cpp:58:3: note: in expansion of macro 'f'
58 | f(i,0,v.size()){
| ^