molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:9:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | while (pl < w.size() && pr < w.size() && (now < l || now > u)) {
| ~~~^~~~~~~~~~
molecules.cpp:9:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | while (pl < w.size() && pr < w.size() && (now < l || now > u)) {
| ~~~^~~~~~~~~~
molecules.cpp:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if (pr+1 < w.size()) now += w[++pr];
| ~~~~~^~~~~~~~~~
molecules.cpp:15:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | if (pl < w.size()) now -= w[pl++];
| ~~~^~~~~~~~~~