molecules.cpp: In function 'long long int* find_subset(long long int, long long int, std::vector<long long int>)':
molecules.cpp:12:5: error: 'sort' was not declared in this scope
sort(w.begin(), w.end());
^~~~
molecules.cpp:12:5: note: suggested alternative: 'qsort'
sort(w.begin(), w.end());
^~~~
qsort
molecules.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i = 0;i < w.size();i++){
~~^~~~~~~~~~
molecules.cpp:22:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll j = i;j < w.size();j++){
~~^~~~~~~~~~
molecules.cpp:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j == w.size()-1){
~~^~~~~~~~~~~~~