molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:7:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | while (p < v.size() && sum + v[p] < l) sum += v[p++];
| ~~^~~~~~~~~~
molecules.cpp:8:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | if (sum == v.size()) return vector<int>(0);
| ~~~~^~~~~~~~~~~