Playground/자바문제집

[백준] 10951번

미숫가루설탕많이 2023. 1. 20. 08:10
import java.util.Scanner;

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

 

'Playground > 자바문제집' 카테고리의 다른 글

[백준] 10807번  (0) 2023.01.20
[백준] 1152번  (0) 2023.01.20
[백준] 1110번  (0) 2023.01.19
[백준] 10952번  (0) 2023.01.19
[백준] 2439번  (0) 2023.01.19