genetics.cpp: In function 'int main()':
genetics.cpp:40:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | if (size(pos) == N-1) {
| ~~~~~~~~~~^~~~~~
genetics.cpp:47:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int i = 0; i < size(pos); i++) if (j < size(ans) && pos[i] == ans[j]) {
| ~~^~~~~~~~~~~
genetics.cpp:47:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int i = 0; i < size(pos); i++) if (j < size(ans) && pos[i] == ans[j]) {
| ~~^~~~~~~~~~~