Update appNew update is available. Click here to update.

Sum of Big integers.

Last Updated: 5 Mar, 2021
Difficulty: Easy

PROBLEM STATEMENT

Try Problem

You have been given two integers ‘NUM1’ and ‘NUM2’ as a string. Your task is to print the sum of both the numbers.

Input Format:
The first line contains a single integer ‘T’ representing the number of test cases. The 'T' test cases are as follows: 

The only line of each test case contains two space-separated integers ‘NUM1’ and ‘NUM2’ representing two integers whose sum you need to return. As numbers are pretty large ‘NUM1’ and ‘NUM2’ will be provided as strings.
Note:
You do not need to print anything; it has already been taken care of. Just implement the function.
Output Format:
For each test case, print the sum of two numbers.
Constraints:
1 <= T <= 10000
1 <= NUM1 <= 10^50
1 <= NUM2 <= 10^50

Where ‘T’ is the number of test cases. ‘NUM1’ and ‘NUM2’ are the numbers whose sum you have to compute.  

Time Limit: 1sec