十进制转二进制
编写程序,读入一个非负整数,将其转换为对应的二进制字符串并输出(不含前缀0b)。
0b
输入方式:
input()
输出方式:
0
1
print()
输入输出示例
# 输入: 0 # 输出: 0
# 输入: 10 # 输出: 1010
# 输入: 4759 # 输出: 1001010010111
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.
Using your Hydro universal account