molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = 0; i < w.size(); i++) wn[i] = {w[i], i};
| ~~^~~~~~~~~~
molecules.cpp:16:23: 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]
16 | for (int i = 0; i < wn.size() && tot+wn[i].first <= u; i++) {
| ~~^~~~~~~~~~~
molecules.cpp:21:28: 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]
21 | for (int i = larg+1; i < wn.size() && tot < l; i++) {
| ~~^~~~~~~~~~~