728x90
반응형
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int A=Integer.parseInt(br.readLine());
int B=Integer.parseInt(br.readLine());
System.out.println(A+B);
}
}
|
cs |
728x90
반응형
'알고리즘 > 알고리즘 기초문제(백준-입출력)' 카테고리의 다른 글
[백준]11021_A+B - 7 (0) | 2022.02.14 |
---|---|
[백준]10952_A+B - 5 (0) | 2022.02.14 |
[백준]2557_A+B - 3 (0) | 2022.02.14 |
[백준]1000_A+B (0) | 2022.02.14 |
[백준]2557_Hello World (0) | 2022.02.14 |