[백준] 10951번 : A+B-4 - Java(자바)

강재원·2022년 9월 21일
0

[코딩테스트] Java

목록 보기
59/200



https://www.acmicpc.net/problem/10951

import java.util.*;
public class Main {
    public static void main(String args[]) {
        Scanner s=new Scanner(System.in);
        while (s.hasNextInt()) {
          int a=s.nextInt();
          int b=s.nextInt();
          System.out.println(a+b);
        }
    }
}
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글