Type: RemoteJudge 1000ms 256MiB

【例47.2】 转进制

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.

说明

用递归算法将一个十进制数X转换成任意进制数MMM16M≤16)。

输入格式

一行两个数,第一个十进制数XX,第二个为进制MM

输出格式

输出结果。

样例

31 16
1F

2024022305

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2024-2-23 17:00
End at
2024-2-23 18:30
Duration
1.5 hour(s)
Host
Partic.
11