Multiply two strings

2.5

2 votes
Easy-Medium
Problem

Given two numbers as stings s1 and s2 your task is to multiply them. You are required to complete the function multiplyStrings which takes two strings s1 and s2 as its only argument and returns their product as strings.

Input: The first line of input contains an integer T denoting the no of test cases. Then T test cases follow . Each test case contains two strings s1 and s2 .

Output: For each test case in a new line the output will be a string denoting the product of the two strings s1 and s2.

Constraints: 1<=T<=100 1<=length of s1 and s2 <=100

Sample Input
2
33 2
11 23
Sample Output
66
253
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?