• + 0 comments
    def sumXor(n):
        return 2**(bin(n).lstrip('0b').count('0'))