molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < w.size() ; i ++){
~~^~~~~~~~~~
molecules.cpp:28:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1 ; j < g.size() ; j ++)
~~^~~~~~~~~~
molecules.cpp:36:5: error: expected initializer before 'return'
return f;
^~~~~~
molecules.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^