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