教育信息化——趣味编程算法OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
1143: 进制转换A
Memory Limit:16 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:32
Solved:18
Submit
Submit Record
Statistics
ShowOff!
Description
将一个十进制数X转换成任意进制数M(M<=16)。
Input
一行,整数X和M,X<=10
9
,M<=16。
Output
十进制数X的M进制数。
Sample Input
Copy
11 2
Sample Output
Copy
1011
Source/Category
函数
递归
Submit
Submit Record
Statistics
ShowOff!