genetics.cpp: In function 'int main()':
genetics.cpp:20:43: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | if ((a[i] ^ a[j]).count() == k) cnt[i]++, cnt[j]++;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
genetics.cpp:26:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int k = 0; k < s[i].size(); k++)
| ~~^~~~~~~~~~~~~
genetics.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
31 | for (int i = 0; i < n; i++)
| ^~~
genetics.cpp:36:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
36 | return 0;
| ^~~~~~