molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:13:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if (pl >= a.size() && pr >= a.size()){
| ~~~^~~~~~~~~~~
molecules.cpp:13:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if (pl >= a.size() && pr >= a.size()){
| ~~~^~~~~~~~~~~
molecules.cpp:23:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | }else if (sum < l && pr < a.size()){
| ~~~^~~~~~~~~~
molecules.cpp:26:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | }else if (sum < l && pr >= a.size()) {
| ~~~^~~~~~~~~~~
molecules.cpp:29:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | }else if (sum > r && pl < a.size()){
| ~~~^~~~~~~~~~
molecules.cpp:32:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | }else if (sum > r && pl >= a.size()){
| ~~~^~~~~~~~~~~