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:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
34 | for (int i = 1; i < n; i++) {
| ~~^~~
molecules.cpp:38:15: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
38 | if (p[i] >= l && p[i] <= r) {
| ~~~~~^~~~
molecules.cpp:38:28: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
38 | if (p[i] >= l && p[i] <= r) {
| ~~~~~^~~~
molecules.cpp:44:12: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
44 | if (p[i] > r) {
| ~~~~~^~~
molecules.cpp:58:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
58 | for (int i = 0; i <= j; i++) {
| ~~^~~~
molecules.cpp:60:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
60 | 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 < cnt; i++) {
| ~~^~~~~
molecules.cpp:87:10: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
87 | if (s >= l && s <= r) {
| ~~^~~~
molecules.cpp:87:20: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
87 | if (s >= l && s <= r) {
| ~~^~~~
molecules.cpp:97:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
97 | for (int i = j; i < cnt; i++) {
| ~~^~~~~
molecules.cpp:99:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
99 | for (int k = 0; k < n ; k++) {
| ~~^~~
molecules.cpp:115:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
115 | for (int i = n - j; i < n; i++) {
| ~~^~~
molecules.cpp:117:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
117 | for (int k = 0; k < n ; k++) {
| ~~^~~