import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int T = sc.nextInt();
for(int i=1; i<=T; i++) {
int A = sc.nextInt();
int B = sc.nextInt();
System.out.println(A+B);
}
}
}
'문제 풀이 > 자바' 카테고리의 다른 글
자바 문제 풀이 16 (0) | 2023.04.27 |
---|---|
자바 문제 풀이 15 (0) | 2023.04.25 |
자바 문제 풀이 13 (0) | 2023.04.24 |
자바 문제 풀이 12 (0) | 2023.04.23 |
자바 문제 풀이 11 (0) | 2023.04.21 |