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

时间:2023-03-09 20:20:10
(高精度运算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));
}
}
}