n = int(input()) s = str(bin(n))[2:] //去掉前面的'0b' print(max(map(len, s.split('0'))))
暂无评论,快来抢首评~
相关推荐