Study📚/백준

[백준] - #10951: A+B - 4

woo!na 2024. 5. 16. 19:47

문제 출처 : https://www.acmicpc.net/

 


#10951: A+B - 4 (언어 : Java11)


제출 답안

import java.util.*;
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        while(sc.hasNextInt()){
            int a = sc.nextInt();
            int b = sc.nextInt();
            System.out.println(a+b);
        }
    }
}

comment

-

저작자표시 비영리 변경금지 (새창열림)