본문 바로가기
Beakjoon&프로그래머스/Java

[백준/Java] 15740번 A+B - 9

by 현장 2022. 4. 13.

-Code

import java.math.BigInteger;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        BigInteger a = scanner.nextBigInteger();
        BigInteger b = scanner.nextBigInteger();

        System.out.println(a.add(b));
    }
}