molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:21:9: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
21 | if(l<= sum and sum <= u){
| ~^~~~~~
molecules.cpp:21:24: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
21 | if(l<= sum and sum <= u){
| ~~~~^~~~
molecules.cpp:26:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while(r < w.size()){
| ~~^~~~~~~~~~
molecules.cpp:27:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
27 | while(sum < l and r < w.size()){
| ~~~~^~~
molecules.cpp:27:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | while(sum < l and r < w.size()){
| ~~^~~~~~~~~~
molecules.cpp:33:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
33 | if(l<= sum and sum <= u){
| ~^~~~~~
molecules.cpp:33:28: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
33 | if(l<= sum and sum <= u){
| ~~~~^~~~
molecules.cpp:37:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
37 | while(sum > u){
| ~~~~^~~
molecules.cpp:43:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
43 | if(l<= sum and sum <= u){
| ~^~~~~~
molecules.cpp:43:28: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
43 | if(l<= sum and sum <= u){
| ~~~~^~~~