Submission

Status:

----------

Subtask/Task Score:

0/100

Score: 0

User: agnes_chan

Problemset: Base Converter

Language: python

Time: 0.011 second

Submitted On: 2026-05-08 08:53:40

b , nm = map(int,input().split())
def cov(n):
    if n:
        cov(n//b)
        print(n%b,end='')
if nm: cov(nm)
else: print(0)