Type: Default 1000ms 128MiB

进制转换

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

进制转换

Description

给你一个十进制数a你需要按要求转化成进制数b。(2<=b<=36)

Format

Input

一行两个数,第一个十进制数a,第二个为进制b。

Output

输出结果(b进制数)。

Samples

345 23
F0

Limitation

1s, 1024KiB for each test case.

蓝桥杯训练一暨22级新生周赛第八场

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2023-1-17 13:00
End at
2023-1-17 18:00
Duration
5 hour(s)
Host
Partic.
36