capital_city.cpp: In function 'void dfs1(int, int)':
capital_city.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++)
......
28 | f(i,0,g[x].size()){
| ~~~~~~~~~~~~~~~
capital_city.cpp:28:2: note: in expansion of macro 'f'
28 | f(i,0,g[x].size()){
| ^
capital_city.cpp: In function 'void dfs2(int)':
capital_city.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++)
......
37 | f(i,0,g[x].size()){
| ~~~~~~~~~~~~~~~
capital_city.cpp:37:2: note: in expansion of macro 'f'
37 | f(i,0,g[x].size()){
| ^
capital_city.cpp: In function 'void solve(int)':
capital_city.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++)
......
49 | f(i,0,v.size()){
| ~~~~~~~~~~~~
capital_city.cpp:49:2: note: in expansion of macro 'f'
49 | f(i,0,v.size()){
| ^
capital_city.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++)
......
61 | f(i,0,q.size()){
| ~~~~~~~~~~~~
capital_city.cpp:61:2: note: in expansion of macro 'f'
61 | f(i,0,q.size()){
| ^
capital_city.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++)
......
79 | f(i,0,q.size()){
| ~~~~~~~~~~~~
capital_city.cpp:79:3: note: in expansion of macro 'f'
79 | f(i,0,q.size()){
| ^
capital_city.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++)
......
85 | f(i,0,q.size()){
| ~~~~~~~~~~~~
capital_city.cpp:85:3: note: in expansion of macro 'f'
85 | f(i,0,q.size()){
| ^
capital_city.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++)
......
92 | f(i,0,g[rt].size()){
| ~~~~~~~~~~~~~~~~
capital_city.cpp:92:2: note: in expansion of macro 'f'
92 | f(i,0,g[rt].size()){
| ^
capital_city.cpp: In function 'int main()':
capital_city.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++)
......
114 | f(j,0,vc[i].size()){
| ~~~~~~~~~~~~~~~~
capital_city.cpp:114:3: note: in expansion of macro 'f'
114 | f(j,0,vc[i].size()){
| ^