logo AlgoBeat OnlineJudge
登录 注册

#101754. [BZOJ 1754] [Usaco2005 qua]Bull Math

内存限制:64 MiB 时间限制:5000 ms 标准输入输出
题目类型:传统 评测方式:文本比较
上传者: 匿名

题目描述

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 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.

输入两个数(不超过四十位),输出其乘积。

输入格式

  • Lines : Each line contains a single decimal number.

输出格式

  • Line : The exact product of the two input lines.

样例

样例输入 #1

11111111111111
1111111111

样例输出 #1

12345679011110987654321

数据范围与提示

Usaco2005 qua