//实现 BigInteger 任意进制之间的转换
private static String change(String num, int from, int to) {
return new java.math.BigInteger(num, from).toString(to);
}
//实现 int 整数任意进制之间的转换
private static String change2(String num, int from, int to) {
return Integer.toString(Integer.valueOf(num.toString(), from), to);
}