while True: try: n = int(input()) nb = bin(n) print(str(nb).count('1')) except: break
暂无评论,快来抢首评~
相关推荐