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 = 0; i < T; i++) {
int A = sc.nextInt();
int B = sc.nextInt();
System.out.println(A+B);
}
}
}
'Algorithm > Baekjoon' 카테고리의 다른 글
[백준_JAVA] 11382 꼬마 정민 (0) | 2023.06.24 |
---|---|
[백준] #8393: 합 (0) | 2022.03.11 |
[백준] #2739: 구구단 (0) | 2022.02.24 |
[백준] #2480: 주사위 세개 (0) | 2022.02.24 |
[백준] #2525: 오븐 시계 (0) | 2022.02.23 |