molecules.cpp: In function 'std::vector<long long int> find_subset(int, int, std::vector<int>)':
molecules.cpp:12:12: error: ambiguating new declaration of 'std::vector<long long int> find_subset(int, int, std::vector<int>)'
vector<ll> find_subset(int l, int u, vector<int> w){
^~~~~~~~~~~
In file included from molecules.cpp:8:0:
molecules.h:5:18: note: old declaration 'std::vector<int> find_subset(int, int, std::vector<int>)'
std::vector<int> find_subset(int l, int u, std::vector<int> w);
^~~~~~~~~~~
molecules.cpp:16:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i = 0;i < w.size();i++){
~~^~~~~~~~~~
molecules.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll i = 0;i < sol.size();i++){
~~^~~~~~~~~~~~
molecules.cpp:31:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(ll j = i;j < sol.size();j++){
~~^~~~~~~~~~~~
molecules.cpp:40:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j == sol.size()-1){
~~^~~~~~~~~~~~~~~