sicily 1381. a*b

来源:互联网 发布:福顺达对讲机写频软件 编辑:程序博客网 时间:2024/05/02 01:52

1381. a*b

Constraints

Time Limit: 1 secs, Memory Limit: 32 MB

Description

Give two positive integers a and b, please help us calculate a*b.

Input

The first line of the input is a positive integer T. T is the number of test cases followed.

Each test case contain two integer a,b (0<=a<=10^100, 0<=b<=10,000) given in one line.

Output

The output of each test case should consist of one line, contain the result of a*b.

Sample Input

12 7

Sample Output

14

Problem Source

Algorithm Course Examination 2006



高精度加法思想:


0 0