A+B - 3 (10950)

유지원·2021년 6월 23일
0

백준OJ

목록 보기
18/32
post-thumbnail

Java 11

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);
        }

        sc.close();
    }
}
profile
👋 https://github.com/ujw0712

0개의 댓글