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