class Solution { public: int hammingDistance(int x, int y) { return __builtin_popcount(x ^ y); } };
求关注
求关注