模板题,模仿前一篇写的
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNext()) { BigInteger ans= new BigInteger("1"); for(int i=1; i<=2; i++) ans=ans.multiply(s.nextBigInteger()); System.out.println(ans); } } }