题解 | #进制转换#
进制转换
https://www.nowcoder.com/practice/0337e32b1e5543a19fa380e36d9343d7
while True: try: num=int(input()) list1=[] if num==0: print(num) else: while num>0: list1.append(num%2) num//=2 list1.reverse() for i in range(len(list1)): print(list1[i],end='') print() except EOFError: break