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

[백준/Java] 10757번 큰 수 A+B

by 현장 2022. 4. 12.

-Code

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

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

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