(高精度运算4.7.21)UVA 10106 Product(大数乘法)

package com.njupt.acm;



import java.math.BigInteger;

import java.util.Scanner;



public class UVA_10106 {



	public static void main(String[] args) {

		Scanner scanner = new Scanner (System.in);

		

		while(scanner.hasNext()){

			BigInteger a = scanner.nextBigInteger();

			BigInteger b = scanner.nextBigInteger();

			

			System.out.println(a.multiply(b));

		}

	}

}



你可能感兴趣的:(uva)