uva 10106 Product

//简单大数相乘,用java很简单

import java.util.Scanner;

import java.math.BigInteger;



public class Main{

	public static void main(String[] args){

		Scanner in = new Scanner(System.in);

		BigInteger a,b;

		while(in.hasNext()){

			a = in.nextBigInteger();

			b = in.nextBigInteger();

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

		}

	}

}

 

你可能感兴趣的:(uva)