Run ID:71526

提交时间:2024-04-25 19:02:10

n = int(input()) s = '' while n: #非0为True 0为False s = str(n%2) + s n = n//2 print(s)