#E. (初中组)进制转换

    Type: Default 1000ms 256MiB

(初中组)进制转换

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Special for beginners, ^_^

Description

给定一个十进制正整数 xx,将它转成 kk 进制输出。

Format

Input

一行两个正整数 xxkk

Output

xx 转成 kk 进制后的结果,不含前导 00

Samples

10 2
1010

Limitation

0x1040\leq x\leq 10^42k92\leq k\leq 9

水题过家家

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2023-5-20 8:00
End at
2023-5-20 12:00
Duration
4 hour(s)
Host
Partic.
49