fork(1) download
  1. import java.math.*;
  2. class Ideone {
  3. public static void main(String[] args) {
  4. BigInteger x = new BigInteger("12345678901234567890");
  5. BigInteger y = new BigInteger("9876543210");
  6. System.out.println(x.multiply(y));
  7. }
  8. }
Success #stdin #stdout 0.12s 320576KB
stdin
Standard input is empty
stdout
121932631124828532111263526900