molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 0; i < w.size(); i++){
| ~~^~~~~~~~~~
molecules.cpp:24:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(p1 == w.size() - 1){
| ~~~^~~~~~~~~~~~~~~
molecules.cpp:32:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if(p2 == w.size() - 1){
| ~~~^~~~~~~~~~~~~~~
molecules.cpp:18:10: warning: variable 'pos' set but not used [-Wunused-but-set-variable]
18 | bool pos = true;
| ^~~