解决题目 import java.util.Scanner; public class Main { public static void main(String[] args) { long n = hexToTen("ABCDEF"); System.out.printf("%15d", n); } public static long hexToTen(String str) { char[] ch = str.toCharArray(); long ret = 0; ...