1720.java
学习了split()分割字符串和十六进制转十进制Integer.parseInt(,16);
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNextLine()){
String str=sc.nextLine();
String[] arr = str.split(" ");
int a = Integer.parseInt(arr[0],16);
int b = Integer.parseInt(arr[1],16);
System.out.println(a+b);
}
sc.close();
}
}