__builtin_popcount MinimumSpanningTree · 2025-03-14 15:19:37 · 闲话 __builtin_popcount(x) 求 x 的二进制下 1 的个数,时间复杂度 O(1)。