使用 popcount 时请使用 __builtin_popcountll() 而非 __builtin_popcount(),第一次知道原来后者数不了 long long。
__builtin_popcountll()
__builtin_popcount()
long long