Submission
Status:
xxxxxxxxxx
Subtask/Task Score:
0/100
Score: 0
User: agnes_chan
Problemset: Base Converter
Language: python
Time: 0.000 second
Submitted On: 2026-05-08 08:51:12
b , c , nm = int(input()) , "0123456789" , int(input())
def cov(n):
if n:
cov(n//b)
print(c[n%b],end='')
if nm: cov(nm)
else: print(0)