Created
July 5, 2018 07:26
-
-
Save shinpei/5132f37bdffd8bce085b8baa440fb0b9 to your computer and use it in GitHub Desktop.
calculate log oneliner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math; print map(lambda m: int(math.log(m, 2)), map(lambda n : int(n), raw_input().split())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment