molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < w.size(); i ++ )
~~^~~~~~~~~~
molecules.cpp:14:5: error: 'sort' was not declared in this scope
sort( V.begin(), V.end() );
^~~~
molecules.cpp:14:5: note: suggested alternative: 'short'
sort( V.begin(), V.end() );
^~~~
short
molecules.cpp:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < V.size(); i ++ )
~~^~~~~~~~~~