molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<w.size();i++)
~^~~~~~~~~
molecules.cpp:20:5: error: break statement not within loop or switch
break;
^~~~~
molecules.cpp:21:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(f==0&&f<u)
^~
molecules.cpp:23:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
int sum = max(f,l);
^~~