molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i = 0; i < w.size(); i++)
| ~~^~~~~~~~~~
molecules.cpp:27:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | while(tl < vect.size())
| ~~~^~~~~~~~~~~~~
molecules.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while(tr < vect.size() && sum + vect[tr].f <= u)
| ~~~^~~~~~~~~~~~~
molecules.cpp:12:11: warning: unused variable 'first' [-Wunused-variable]
12 | #define f first
| ^~~~~
molecules.cpp:18:9: note: in expansion of macro 'f'
18 | int f = min(l, u);
| ^
molecules.cpp:19:9: warning: unused variable 'g' [-Wunused-variable]
19 | int g = max(l, u);
| ^