molecules.cpp: In function 'std::vector<int> construct(std::vector<std::array<int, 2> >&, int, int)':
molecules.cpp:8:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::array<int, 2> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for (int i = 0; i < w.size() - right - 1; i++) ret[i + left] = w[i + right + 1][1];
| ~~^~~~~~~~~~~~~~~~~~~~~~
molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:13:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int i = 0; i < _w.size(); i++) w.push_back({_w[i], i});
| ~~^~~~~~~~~~~