Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.math.BigInteger;
- import java.util.Scanner;
- public class Main {
- public static void main(String[]args)
- {
- Scanner sc = new Scanner(System.in);
- BigInteger bi,j,k;
- while(sc.hasNext())
- {
- j = sc.nextBigInteger();
- k = sc.nextBigInteger();
- System.out.println(j.multiply(k));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment