molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i = 0; i < w.size(); i++)
| ~~^~~~~~~~~~
molecules.cpp:25:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int x = i; x < new_w.size(); i++)
| ~~^~~~~~~~~~~~~~
molecules.cpp:36:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int i = 0; i < new_w.size(); i++){
| ~~^~~~~~~~~~~~~~
molecules.cpp:45:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(mid < new_w.size())
| ~~~~^~~~~~~~~~~~~~
molecules.cpp:53:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int x = mid; x < new_w.size(); x++)
| ~~^~~~~~~~~~~~~~
molecules.cpp:33:10: warning: unused variable 'found' [-Wunused-variable]
33 | bool found = false;
| ^~~~~