molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:15:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<w.size();i++) v.pub(mp(w[i],i));
~^~~~~~~~~
molecules.cpp:19:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size();i++){
~^~~~~~~~~
molecules.cpp:26:4: error: 'asn1' was not declared in this scope
asn1.pop_front();
^~~~
molecules.cpp:26:4: note: suggested alternative: 'ans'
asn1.pop_front();
^~~~
ans
molecules.cpp:30:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans1.size();i++){
~^~~~~~~~~~~~