politicaldevelopment.cpp: In function 'void make()':
politicaldevelopment.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(j,0,g[i].size()){
| ~~~~~~~~~~~~~~~
politicaldevelopment.cpp:28:3: note: in expansion of macro 'f'
28 | f(j,0,g[i].size()){
| ^
politicaldevelopment.cpp: In function 'void solve(std::vector<int>)':
politicaldevelopment.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++)
......
60 | f(i,0,v.size()){
| ~~~~~~~~~~~~
politicaldevelopment.cpp:60:2: note: in expansion of macro 'f'
60 | f(i,0,v.size()){
| ^
politicaldevelopment.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++)
......
63 | f(i,0,v.size()){
| ~~~~~~~~~~~~
politicaldevelopment.cpp:63:2: note: in expansion of macro 'f'
63 | f(i,0,v.size()){
| ^
politicaldevelopment.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++)
......
65 | f(j,0,g[u].size()){
| ~~~~~~~~~~~~~~~
politicaldevelopment.cpp:65:3: note: in expansion of macro 'f'
65 | f(j,0,g[u].size()){
| ^
politicaldevelopment.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++)
......
74 | f(i,0,v.size()){
| ~~~~~~~~~~~~
politicaldevelopment.cpp:74:2: note: in expansion of macro 'f'
74 | f(i,0,v.size()){
| ^
politicaldevelopment.cpp: In function 'int main()':
politicaldevelopment.cpp:82:7: warning: unused variable 't' [-Wunused-variable]
82 | int t,x;
| ^
politicaldevelopment.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++)
......
94 | f(i,0,v.size()){
| ~~~~~~~~~~~~
politicaldevelopment.cpp:94:2: note: in expansion of macro 'f'
94 | f(i,0,v.size()){
| ^
politicaldevelopment.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++)
......
97 | f(j,0,g[u].size()){
| ~~~~~~~~~~~~~~~
politicaldevelopment.cpp:97:3: note: in expansion of macro 'f'
97 | f(j,0,g[u].size()){
| ^
politicaldevelopment.cpp:103:13: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
103 | if(v.size()<n){
| ~~~~~~~~^~
politicaldevelopment.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++)
......
109 | f(t,0,v.size()){
| ~~~~~~~~~~~~
politicaldevelopment.cpp:109:2: note: in expansion of macro 'f'
109 | f(t,0,v.size()){
| ^