molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:12:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<w.size();i++)v.push_back({w[i],i});
~^~~~~~~~~
molecules.cpp:15:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(a<v.size())
~^~~~~~~~~
molecules.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sum<l&&b<v.size())
~^~~~~~~~~
molecules.cpp:22:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(u<sum||b==v.size())
~^~~~~~~~~~
molecules.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^