Timer is Running

Sum of Big Integers
Submissions: 4763   Accuracy:


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

Given two positive integers X and Y. Your task is to add two integers and output their sum.

Input Format:
First line of input contains number of testcase T. For each testcase, there will be a single line, containing two positive integers seperated by space.

Output Format:
For each testcase, output the sum of all integers.

User Task: Your task is to complete the function add() which returns the sum of two integers.

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


111111 11111


Testcase 1:
Sum of given two integers is 122222.

** 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.