You are viewing a single comment's thread. Return to all comments →
import sys print( len( max( bin( int( input().strip() ) )[2:].split('0') ) ) )
Haha. Also, impressive one-liner! Great job!
Seems like cookies are disabled on this browser, please enable them to open this website
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
Haha. Also, impressive one-liner! Great job!