1027 大数的乘法


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

给出一些整数对,一个是可能接近100位的大数,另一个只有1位数,求这些整数对的乘积。

Sample

Input

1 1
123 0
12345678910 8
123456789101234567891012345678910 7

Output

1
0
98765431280
864197523708641975237086419752370

Comments

There are no comments at the moment.