5485: 进制转换2
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:0
Description
将一个n进制的数k转换为十进制并输出。
Input
k ,n。
其中n为进制,k为一个n进制的正整数。
其中n为进制,k为一个n进制的正整数。
Output
一行,共一个整数,表示10进制的k
Sample Input Copy
AA 16
Sample Output Copy
170
HINT
n <= 16 , k <= 1e7