#B. 10 进制转 x 进制

    Type: RemoteJudge 1000ms 128MiB

10 进制转 x 进制

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.

题目描述

给定一个十进制整数 nn 和一个小整数 xx。将整数 nn 转为 xx 进制。对于超过十进制的数码,用 AB ... 表示。

输入格式

第一行一个整数 nn

第二行一个整数 xx

输出格式

输出仅包含一个整数,表示答案。

1000
2

1111101000

提示

【数据规模和约定】
保证 nn 不超过 10910^9xx 不超过 3636

B23信心竞速赛

Not Attended
Status
Done
Rule
Ledo
Problem
8
Start at
2024-10-25 18:30
End at
2024-10-25 20:30
Duration
2 hour(s)
Host
Partic.
18