BackJoon Algorithm 2558 A+B-2 (Java)
BackJoon Algorithm - Java
문제
풀이
import java.util.Scanner;
public class Back_2558 {
public static void main(String[] args) {
// given
Scanner sc = new Scanner(System.in);
int A = sc.nextInt(); // A입력
int B = sc.nextInt(); // B입력
// then
System.out.println(A+B);
sc.close();
}
}
댓글남기기