A. 【例47.2】 转进制
【例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.
Description
Convert a decimal number to any base () using a recursive algorithm.
Input Format
One line containing two numbers: the first is the decimal number , and the second is the target base .
Output Format
Output the converted number.
Sample
31 161F
20251108 B班作业(6)
- Status
- Done
- Problem
- 1
- Open Since
- 2025-11-8 0:00
- Deadline
- 2025-11-16 23:59
- Extension
- 24 hour(s)