#P187. 转进制

转进制

Description

将一个十进制数X转换成任意进制数M(M≤16)。

Input Format

一行两个数,第一个十进制数X,第二个为进制M。

Output Format

输出结果。

31 16 

1F

蜀ICP备2025119001号-1