Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106190 丁俊杰 十进制转二进制 Python3 Wrong Answer 37 MS 3748 KB 148 2025-01-15 16:42:36

Tests(0/20):


Code:

def ten_to_two(n): res="" while n!=0: res+=str(n%2) n=n//2 return res n=int(input()) print(ten_to_two(n))


Run Info:

------Input------
972586684
------Answer-----
111001111110000111111010111100
------Your output-----
001111010111111000011111100111