求解a*b问题
DescriptionCalculate a*bInput
Input has several cases.
Each case contains two lines.
First line gives a, and second line gives b.
Note that a,b are both smaller than 10^5000.
there is a blank line between cases.
No more than 50 cases would be given.Output
For each case, output a line with the answer of a*b.Sample Input 1112100007756710000000000000000001000000000000000000
Sample Output 1327756700001000000000000000000000000000000000000
Hint
Use optimized high precision integer.
Use scanf to avoid TLE.
PS:会的请回复,谢谢! Description
Calculate a*b
Input
Input has several cases.
Each case contains two lines.
First line gives a, and second line gives b.
Note that a,b are both smaller than 10^5000.
there is a blank line between cases.
No more than 50 cases would be given.
Output
For each case, output a line with the answer of a*b.
Sample Input
11
12
10000
77567
1000000000000000000
1000000000000000000
Sample Output
132
775670000
1000000000000000000000000000000000000
页:
[1]