molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:6:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for(int i = 0; i < a.size(); i++){
| ~~^~~~~~~~~~
molecules.cpp:16:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if (pl >= a.size() && pr >= a.size()){
| ~~~^~~~~~~~~~~
molecules.cpp:16:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if (pl >= a.size() && 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 < l && pr >= 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()){
| ~~~^~~~~~~~~~
molecules.cpp:35:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | }else if (sum > r && pl >= a.size()){
| ~~~^~~~~~~~~~~