Problem:-
Problem Description
Given a series of integer pairs and , output the sum of and .
Input Format
Each line contains two integers, and . One input file may contain several pairs where .
Output Format
Output a single integer per line - The sum of and .
Constraints
Time Limit: 1
Memory Limit: 256
Source Limit:
Code:-
if __name__ == '__main__':
l=list(map(int,input().split()))
a,b=l
print(a+b)
while(l!=EOF):
l=list(map(int,input().split()))
a,b=l
print(a+b)
0 Comments