Run ID:106192

提交时间:2025-01-15 16:45:33

def ten_to_two(n): res="" while n!=0: res+=str(n%2) n=n//2 return res[::-1] n=int(input()) if n>0: print(ten_to_two(n)) else: print(0)