A+B - 3
문제
내 풀이
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int T;
String str;
int a, b;
T = Integer.parseInt(br.readLine());
for (int i = 0; i < T; i++) {
str = br.readLine();
StringTokenizer st = new StringTokenizer(str);
a = Integer.parseInt(st.nextToken());
b = Integer.parseInt(st.nextToken());
System.out.printf("%d\n", a + b);
}
}
}