molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:9:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<w.size(); i++)
~^~~~~~~~~
molecules.cpp:17:10: error: could not convert 'A' from 'std::vector<long long int>' to 'std::vector<int>'
return A;
^
molecules.cpp:45:10: error: could not convert 'A' from 'std::vector<long long int>' to 'std::vector<int>'
return A;
^
molecules.cpp:53:10: error: could not convert 'A' from 'std::vector<long long int>' to 'std::vector<int>'
return A;
^
molecules.cpp:8:40: warning: unused variable 'c' [-Wunused-variable]
long long int s = 0, n = w.size(), c;
^