a*b
Time Limit: 1sec Memory Limit:32MB
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
a为一个大数 ,b为一个int数
所以a需要用字符串表示,b用int表示即可
|