매일코테

백준 3단계 no.13

공주맛밤 2022. 7. 20. 16:40

import java.util.*;


public class Main {
    public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(sc.hasNext()) {
			int x = sc.nextInt();
			int y = sc.nextInt();
			
			System.out.println(x+y);
		}
		sc.close();
	}
}

-> bufferedReader로 해보려 했으나 잘 안됨..

728x90
반응형

'매일코테' 카테고리의 다른 글

백준 4단계 no.1  (0) 2022.07.22
백준 3단계 no.14  (0) 2022.07.20
백준 3단계 no.12  (0) 2022.07.20
백준 3단계 no.11  (0) 2022.07.20
백준 2441번  (0) 2022.07.20