728x90
import java.util.Scanner;
public 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);
}
}
}
728x90
'Coding Practice > BAEKJOON - Java' 카테고리의 다른 글
[BAEKJOON] 5597번 (0) | 2023.04.30 |
---|---|
[BAEKJOON] 10810번 (0) | 2023.04.12 |
[BAEKJOON] 2562번 (0) | 2023.04.07 |
[BAEKJOON] 10818번 (0) | 2023.04.04 |
[BAEKJOON] 10871번 (0) | 2023.04.03 |