We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- BigNumber
- Java BigInteger
- Discussions
Java BigInteger
Java BigInteger
Sort by
recency
|
346 Discussions
|
Please Login in order to post a comment
import java.io.; import java.util.; import java.util.Scanner; import java.math.BigInteger; public class Solution {
}****
import java.util.; import java.text.; import java.math.; import java.util.regex.;
public class Solution {
}
Scanner sc=new Scanner(System.in); BigInteger b1=sc.nextBigInteger(); BigInteger b2=sc.nextBigInteger(); BigInteger sum=b1.add(b2); BigInteger mul=b1.multiply(b2); System.out.println(sum); System.out.println(mul);
}
import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
public class Solution {
}
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger;
public class BigIntegerJava {
}