728x90
출처 - https://www.acmicpc.net/problem/1000
728x90
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan=new Scanner(System.in);
int num1=scan.nextInt();
int num2=scan.nextInt();
int sum=num1+num2;
System.out.println(sum);
}
}
728x90
'Problem Solving > BOJ' 카테고리의 다른 글
[백준, BOJ 10952] A+B -5 (java) (0) | 2020.07.21 |
---|---|
[백준, BOJ 10951] A+B -4 (java) (0) | 2020.07.21 |
[백준, BOJ 10950] A+B -3 (java) (0) | 2020.07.21 |
[백준, BOJ 2558] A+B -2 (java) (0) | 2020.07.21 |
[백준, BOJ 2557] Hello World (java) (0) | 2020.07.21 |