import java.util.Scanner; //0xAA 中0x是16进制标识,在做进制转化的时候要将前两位去掉,用substring做字符串截取 public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNextLine()){ String str = sc.nextLine(); int answer = Integer.parseInt(str...