Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Speedy category for The Hamming Distance by Fermax
def checkio(n, m):
# Count the number of '1' digits in the binary representation of n XOR m
return str.count(bin(n^m),'1')
March 5, 2014
Comments: