UVA 10106 - Product

UVA Sep 01, 2020

Problem PDF

Solution:

package mypkg;

import java.math.BigInteger;
import java.util.Scanner;
 class Main {
    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));
       }
    }

}
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/10106/Main.java

Tags

Shipu Ahamed

CSPO® | Partly Product, Project Manager and Partly Software Engineer.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.