molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:28:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i=0;i<w.size();i++)
~^~~~~~~~~
molecules.cpp:35:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(lx<v.size()&&sum+v[lx].f<=u){
~~^~~~~~~~~
molecules.cpp:41:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(lx<v.size()){
~~^~~~~~~~~
molecules.cpp:49:1: error: 'r' was not declared in this scope
r++;
^
molecules.cpp:49:1: note: suggested alternative: 'rr'
r++;
^
rr