Main page Tasks Volumes Ranking Help

Back to task list

Sums in Loop

Now you will be given several pairs of values and you need to calculate sum for each pair.
First line will contain number of pairs and the following lines will contain pairs themselves - one pair at each line.
Output sums in one line separated by spaces.

Example:

data:
3
100 8
15 245
1945 54

answer:
108 260 1999
You need to login to get test data and submit solution.