import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); //判断是否输入数据 while(sc.hasNext()){ String num = sc.nextLine(); //截取第二位字符串之后的子字符串 String num1 = num.substring(2); //将字符串转为有符号的十进制整数 int num2 = Integer.parseInt(num1,16); System.out.p...