매일코테
백준 3단계 no.2
공주맛밤
2022. 7. 20. 09:52

import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
for(int i=0; i<a; i++) {
int b = sc.nextInt();
int c = sc.nextInt();
System.out.println(b+c);
}
}
}
728x90
반응형