Wednesday, March 30, 2016

UVA 10106


import java.math.BigInteger;
import java.util.Scanner;
 class product {
    public static void main(String[] args) {
       Scanner in=new Scanner(System.in);
       while(in.hasNext())
       {
           BigInteger a=in.nextBigInteger();
           BigInteger b=in.nextBigInteger();
           System.out.println(a.multiply(b));
       }
    }

}

No comments:

Post a Comment

Thank you for commenting. Please wait for response :)