Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Other bit operators solution in Creative category for Multiplication Table by veky
checkio=lambda f,s,l=int.bit_length:l(f)*s+bin(f).count("1")*(2**l(s)+~s)<<1
Feb. 11, 2014
Comments: