Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Multiplication Table by madmanbob
def checkio(a, b):
c = bin(a)[2:]
return 2 * (c.count("1") * (2**(len(bin(b)) - 2) - 1) + c.count("0") * b)
Feb. 8, 2014
Comments: