genetics.cpp: In function 'int main()':
genetics.cpp:22:39: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
22 | if ((A[r] ^ A[i]).count() != K) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
genetics.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d %d %d", &N, &M, &K);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
genetics.cpp:14:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf(" %c", &buf);
| ~~~~~^~~~~~~~~~~~~