molecules.cpp: In function 'vi find_subset(int, int, vi)':
molecules.cpp:26:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
26 | if (alles < l)
| ~~~~~~^~~
molecules.cpp:28:15: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
28 | if (alles <= u)
| ~~~~~~^~~~
molecules.cpp:8:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | #define loop(x) for (int i = 0; i < (x); i++)
| ~~^~~~~
molecules.cpp:31:9: note: in expansion of macro 'loop'
31 | loop(w.size()) ret.push_back(i);
| ^~~~
molecules.cpp:8:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | #define loop(x) for (int i = 0; i < (x); i++)
| ~~^~~~~
molecules.cpp:35:5: note: in expansion of macro 'loop'
35 | loop(w.size())
| ^~~~
molecules.cpp:45:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
45 | while (totalW < l)
| ~~~~~~~^~~
molecules.cpp:53:28: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | if (totalW + W > u)
| ~~~~~~~~~~~^~~
molecules.cpp:65:16: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
65 | if (totalW >= l)
| ~~~~~~~^~~~
molecules.cpp:83:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long unsigned int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for (int i1 = 0; i1 < sortedMolecules.size(); i1++)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~
molecules.cpp:103:27: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
103 | while (totalW < l)
| ~~~~~~~^~~
molecules.cpp:111:36: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
111 | if (totalW + W > u)
| ~~~~~~~~~~~^~~
molecules.cpp:123:24: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
123 | if (totalW >= l && totalW <= u)
| ~~~~~~~^~~~
molecules.cpp:123:39: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
123 | if (totalW >= l && totalW <= u)
| ~~~~~~~^~~~