BigInteger Multiply
Submissions: 3763   Accuracy:

83.57%

  Difficulty: Easy   Marks: 2
Associated Course(s):   Fork Java

Given two BigIntegers X and Y. Your task is to multiply X and Y.

Input Format :
First line of input contains T, number of testcases. For each testcase, there will be single line containing X and Y.

Output Format :
For each testcase, output the multiplication of X and Y.

Constraints:
1 <= T <= 10
1 <= X, Y, <= 1030

User Task: Your task is to complete the function mul() which returns multiplication of X and Y.

Example:
Input:

1
18761 187611

Output:
3519769971

Explanation:
Testcase 1:
Multiplication of X and Y is 3519769971.

** For More Input/Output Examples Use 'Expected Output' option **

Author: Dhiman Mayank


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.