摘要: class Solution: def hammingDistance(self, x: int, y: int) -> int: z = x^y z = (z&0x55555555)+((z>>1)&0x55555555) z = (z&0x33333333)+((z>>2)&0x33333333 阅读全文
posted @ 2019-03-01 13:28 bluedream1000 阅读(171) 评论(0) 推荐(0) 编辑