python-algorithm
[백준] 10829
무적김두칠
2021. 1. 28. 13:08
1
2
3
4
5
6
|
s=int(input())
ans=''
while s!=0:
ans+=str(s%2)
s//=2
print(ans[::-1])
|
cs |
반응형