s = bin(int(input())).split('0') n = 0 for i in s: j = i.count('1') n = max(n,j) print(n)
暂无评论,快来抢首评~
相关推荐