molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int i = 0; i < w.size(); i++) {
| ~~^~~~~~~~~~
molecules.cpp:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int i = 1; i <= w.size(); i++)
| ~~^~~~~~~~~~~
molecules.cpp:32:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int mol_count = 1; mol_count <= w.size(); mol_count++) {
| ~~~~~~~~~~^~~~~~~~~~~
molecules.cpp:49:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for (int i = w.size() - top; i < w.size(); i++)
| ~~^~~~~~~~~~