insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:4:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
insects.cpp:24:3: note: in expansion of macro 'rep'
24 | rep(i, A.size()) swap(A[i], A[rng()%(i+1)]);
| ^~~
insects.cpp:27:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | if(A.size()*A.size()>=n) sr=(po+ko)/2;
| ~~~~~~~~~~~~~~~~~^~~
insects.cpp:4:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define rep(a, b) for(int a = 0; a < (b); ++a)
| ^
insects.cpp:34:5: note: in expansion of macro 'rep'
34 | rep(i, B.size()) swap(B[i], B[rng()%(i+1)]);
| ^~~