molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i=0;i<w.size();i++){
| ~^~~~~~~~~
molecules.cpp:18:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i=1;i<v.size();i++){
| ~^~~~~~~~~
molecules.cpp:24:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
molecules.cpp:27:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
27 | for(int k=0;k<=i;k++)
| ^~~
molecules.cpp:29:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
29 | return res;
| ^~~~~~