📌  相关文章
📜  汉明距离 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.677000             🧑  作者: Mango

代码示例1
int hamming(int a, int b) {
    return __builtin_popcount(a^b); //hamming distance between string a and b
}