molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:18:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | while(ww.size() && L != ww.size() - 1 || R != ww.size() - 1) {
| ~~^~~~~~~~~~~~~~~~
molecules.cpp:18:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | while(ww.size() && L != ww.size() - 1 || R != ww.size() - 1) {
| ~~^~~~~~~~~~~~~~~~
molecules.cpp:18:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
18 | while(ww.size() && L != ww.size() - 1 || R != ww.size() - 1) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
molecules.cpp:19:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | while(sum < l && R + 1 < ww.size()) {
| ~~~~~~^~~~~~~~~~~