insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:30:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i = 0; i<cur.size(); ++i){
| ~^~~~~~~~~~~
insects.cpp:31:21: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
31 | if(in_box.size() == m*unique_cnt){
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
insects.cpp:47:20: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
47 | if(in_box.size() != m*unique_cnt){
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
insects.cpp:48:20: 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<cur.size(); ++i){
| ~^~~~~~~~~~~