insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:28:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
28 | if(rep.size()>N/2) return 1;
| ~~~~~~~~~~^~~~
insects.cpp:29:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
29 | if(rep.size()>N/8) {
| ~~~~~~~~~~^~~~
insects.cpp:32:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0; i<rep.size(); i++) move_outside(rep[i]);
| ~^~~~~~~~~~~
insects.cpp:44:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'll' {aka 'long long int'} [-Wsign-compare]
44 | if(rep.size()<cnt) return rez;
| ~~~~~~~~~~^~~~
insects.cpp:48:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for(int i=0; i<rep.size(); i++) tip[rep[i]]=i;
| ~^~~~~~~~~~~
insects.cpp:49:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(int i=0; i<rep.size(); i++) {
| ~^~~~~~~~~~~
insects.cpp:60:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int i=0; i<rep.size(); i++) {
| ~^~~~~~~~~~~
insects.cpp:73:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(int i=0; i<N; i++) if(tip[i]>=rep.size()) while(true);
| ~~~~~~^~~~~~~~~~~~
insects.cpp:75:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for(int i=0; i<rep.size(); i++) rez=min(rez, (ll)bp[i]);
| ~^~~~~~~~~~~