Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class SumaBigInteger {
- /**
- * @param args
- */
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- Scanner lee=new java.util.Scanner(System.in);
- String N1 = lee.next();
- String N2 = lee.next();
- java.math.BigInteger bi1 = new java.math.BigInteger(N1);
- java.math.BigInteger bi2 = new java.math.BigInteger(N2);
- System.out.println(bi1.add(bi2));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement