首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

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

2013-10-30 
(高精度运算4.7.21)UVA 10106Product(大数乘法)package com.njupt.acmimport java.math.BigIntegerimpor

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

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));}}}


热点排行