molecules.cpp: In function 'std::vector<int> find_subset(long long int, long long int, std::vector<long long int>)':
molecules.cpp:11:24: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(long long i=0;i<w.size();i++)
| ~^~~~~~~~~
molecules.cpp:18:37: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(long long sum=0,ru=0,lu=0;ru<w.size();ru++)
| ~~^~~~~~~~~
molecules.cpp:39:12: error: could not convert 'ans' from 'vector<long long int>' to 'vector<int>'
39 | return ans;
| ^~~
| |
| vector<long long int>