molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:15:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
15 | if(sm <= u) s.insert(sm);
| ~~~^~~~
molecules.cpp:16:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
16 | if(sm >= l) break;
| ~~~^~~~
molecules.cpp:23:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
23 | if(sm >= l) {
| ~~~^~~~
molecules.cpp:24:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
24 | if(sm <= u) {
| ~~~^~~~
molecules.cpp:31:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
31 | if(it != s.end() && sm + *it <= u) {
| ~~~~~~~~~^~~~
molecules.cpp:40:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
40 | if(sm > fl) break;
| ~~~^~~~
molecules.cpp:46:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
46 | if(sm > fr) break;
| ~~~^~~~