일상

10950 : A + B - 3

STUDYING,,, 2021. 7. 26. 23:07
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {

		Scanner sc = new Scanner(System.in);
		int tc = sc.nextInt();
		for (int i = 0; i < tc; i++) {
			
			int num1 = sc.nextInt();
			int num2 = sc.nextInt();
			int sum = num1+num2;
			
			System.out.println(sum);


		}

	}
}

'일상' 카테고리의 다른 글

2741 : N 찍기  (0) 2021.07.26
8393 : 합  (0) 2021.07.26
2739 : 구구단  (0) 2021.07.26
2884 : 알람 시계  (0) 2021.07.23
14681 : 사분면 고르기  (0) 2021.07.23