molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:9:38: warning: comparison of integer expressions of different signedness: 'un' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define REP(i, a, b) for(un i = a; i < b; i++)
......
18 | REP(i, 0, w.size()) toSort[i] = {w[i], i};
| ~~~~~~~~~~~~~~
molecules.cpp:18:5: note: in expansion of macro 'REP'
18 | REP(i, 0, w.size()) toSort[i] = {w[i], i};
| ^~~
molecules.cpp:9:38: warning: comparison of integer expressions of different signedness: 'un' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define REP(i, a, b) for(un i = a; i < b; i++)
......
24 | REP(i, 0, w.size()){
| ~~~~~~~~~~~~~~
molecules.cpp:24:5: note: in expansion of macro 'REP'
24 | REP(i, 0, w.size()){
| ^~~
molecules.cpp:9:38: warning: comparison of integer expressions of different signedness: 'un' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | #define REP(i, a, b) for(un i = a; i < b; i++)
......
54 | REP(i, 0, ret.size()){
| ~~~~~~~~~~~~~~~~
molecules.cpp:54:5: note: in expansion of macro 'REP'
54 | REP(i, 0, ret.size()){
| ^~~