molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:17:24: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
17 | for (int i = 0 ; i <= n; i++)
| ~~^~~~
molecules.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
31 | for (int i = 1; i < n; i++) {
| ~~^~~
molecules.cpp:35:15: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
35 | if (p[i] >= l && p[i] <= r) {
| ~~~~~^~~~
molecules.cpp:35:28: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
35 | if (p[i] >= l && p[i] <= r) {
| ~~~~~^~~~
molecules.cpp:41:12: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
41 | if (p[i] > r) {
| ~~~~~^~~
molecules.cpp:43:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
43 | if (p[i] - a[0]>= l && p[i] - a[0] <= r) {
| ~~~~~~~~~~~^~~~
molecules.cpp:43:39: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
43 | if (p[i] - a[0]>= l && p[i] - a[0] <= r) {
| ~~~~~~~~~~~~^~~~
molecules.cpp:62:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
62 | for (int i = 1; i <= j; i++) {
| ~~^~~~
molecules.cpp:64:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
64 | for (int k = 0; k < n ; k++) {
| ~~^~~
molecules.cpp:81:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
81 | for (int i = 0; i <= j; i++) {
| ~~^~~~
molecules.cpp:83:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
83 | for (int k = 0; k < n ; k++) {
| ~~^~~