# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Long ago, after learning how to add two numbers, Shakib came to know about multiplication. Multiplication is the process of repeated addition. When you want to add the number 5 for 3 times, the result will be 5 + 5 + 5 = 15. Using multiplication, we can calculate the same result easily, 5 * 3 becomes 15.

Multiplication as you can see, looks elementary for the adults. But back then, it was really tough for Shakib to multiply two numbers correctly. Shakib did not have the luxury of verifying his calculations from the internet. But kids these days have that option. So you have decided to write a software that will calculate multiplication of two integer numbers.

You will be given two integers a and b, you will have to calculate the result of a multiplied by b.

The input contains two integers a and b.

For 10 points, a and b are less than 100.

For 20 points, a and b are less than 10000

For 20 points, a and b are less 10^{9}.

For 50 points, a and b are at most 1000 digits long.

Output the result of a multiplied by b.

Input | Output |
---|---|

2 1 | 2 |

Input | Output |
---|---|

2 2 | 4 |

Input | Output |
---|---|

3 2 | 6 |

70% Solution Ratio

quantumDotEarliest,

Onik123Fastest, 0.0s

Onik123Lightest, 131 kB

Raiyan0IslamShortest, 39B

Login to submit