Created
April 17, 2015 08:37
-
-
Save Baekjoon/5d98f9dc819e3c874e37 to your computer and use it in GitHub Desktop.
java bigintger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.math.*; | |
public class Main { | |
public static void main(String args[]) { | |
Scanner sc = new Scanner(System.in); | |
BigInteger a = sc.nextBigInteger(); | |
BigInteger b = sc.nextBigInteger(); | |
BigInteger sum = a.add(b); | |
System.out.println(sum.toString()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment