import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
while(sc.hasNext())
{
int n = sc.nextInt();
int x = sc.nextInt();
System.out.println(Integer.toString(n, x).toUpperCase());
}
}
}
Java10进制转换为任意进制
猜你喜欢
转载自blog.csdn.net/qq_39898553/article/details/81380917
今日推荐
周排行