Source Code
Problem: 2389 | User: fan1913068672 | |
Memory: 3040K | Time: 1344MS | |
Language: Java | Result: Accepted |
- Source Code
import java.util.Scanner; import java.math.BigDecimal; import java.math.BigInteger; public class Main { public static void main(String[]args) { Scanner cin=new Scanner(System.in); while(cin.hasNextBigInteger()) { BigInteger a; BigInteger b; a=cin.nextBigInteger(); b=cin.nextBigInteger(); System.out.println(a.multiply(b)); } } }