import java.util.Scanner;
public class Main10950 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int T = sc.nextInt();
int[] result = new int[T];
for(int i=0; i<T; i++){
int A = sc.nextInt();
int B = sc.nextInt();
result[i] = A+B;
}
for(int i=0; i<T;i++){
System.out.println(result[i]);
}
}
}
'휴지통 > 알고리즘 & 자료구조' 카테고리의 다른 글
백준 1330 (0) | 2021.06.28 |
---|---|
백준 10998 (0) | 2021.06.28 |
백준 10869 (0) | 2021.06.28 |
백준 10430 (0) | 2021.06.28 |
백준 10172 (강아지) (0) | 2021.06.28 |