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