molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:9:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int i=0; i<w.size(); i++){
| ~^~~~~~~~~
molecules.cpp:18:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
18 | if(ans.size()==num) break;
| ~~~~~~~~~~^~~~~
molecules.cpp:25:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
25 | if(ans.size()==num) break;
| ~~~~~~~~~~^~~~~
molecules.cpp:36:34: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if(ans.size()==i) break;
| ~~~~~~~~~~^~~
molecules.cpp:40:34: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
40 | if(ans.size()==i+cur1) break;
| ~~~~~~~~~~^~~~~~~~