Submit | All submissions | Best solutions | Back to list |
TESTSTRX - Addition of 2 integers |
Given 2 integers A and B, print their sum, you will need to solve T testcases
Input
The first line contains an integer T, the next T lines of input each contains 2 integers A and B
Output
For each test, output A + B on a new line
Constraints
1 <= T <= 100
0 <= A, B <= 10000
Example
Input: 3 1 2 3 4 10 10
Output: 3 7 20
Added by: | OuiOuiBaguette |
Date: | 2024-07-27 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |