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:27:18: error: expected ';' before ')' token
ans1.pub(v[i]));
^
molecules.cpp:30:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans1.size();i++){
~^~~~~~~~~~~~