• [1126] Bull Math

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • Bulls are so much better at math than the cows. They can multiply huge integers together and get perfectly precise answers ... or so they say. Farmer John wonders if their answers are correct. Help him check the bulls' answers. Read in two positive integers (no more than 40 digits each) and compute their product. Output it as a normal number (with no extra leading zeros).

    FJ asks that you do this yourself; don't use a special library function for the multiplication.

  • 输入
  • Each line contains two decimal numbers.
  • 输出
  • The exact product of the two input lines
  • 样例输入
  • 11111111111111 1111111111
  • 样例输出
  • 12345679011110987654321
  • 提示
  • 来源
  • 本站或者转载
  • 操作