molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for (int i = 1; i < v.size(); i++) p[i] = p[i - 1] + v[i];
| ~~^~~~~~~~~~
molecules.cpp:9:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for (int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
molecules.cpp:10:36: warning: right operand of comma operator has no effect [-Wunused-value]
10 | l = i,r = v.size() - 1,md,jog = -1;
| ^