molecules.cpp: In function 'int* find_subset(int, int, std::vector<int>)':
molecules.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i = 0;i < w.size();i++){
~~^~~~~~~~~~
molecules.cpp:20:33: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type* {aka long long int*}' to 'int*' in return
return &returnThis[0];
^
molecules.cpp:23:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll j = i;j < w.size();j++){
~~^~~~~~~~~~
molecules.cpp:29:41: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type* {aka long long int*}' to 'int*' in return
return &returnThis[0];
^
molecules.cpp:31:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j == w.size()-1){
~~^~~~~~~~~~~~~