题库练习 A+B (Trial Problem)
← 上一题 下一题 →

A14524 | A+B (Trial Problem)

时间限制1s
内存限制256MB
通过 / 提交0/0

题目描述

You are given two integers $a$ and $b$ . Print $a+b$ .

输入格式

The first line contains an integer $t$ ( $1 \le t \le 10^4$ ) — the number of test cases in the input. Then $t$ test cases follow.

Each test case is given as a line of two integers $a$ and $b$ ( $-1000 \le a, b \le 1000$ ).

输出格式

Print $t$ integers — the required numbers $a+b$ .

输入输出样例

输入 #1
4
1 5
314 15
-99 99
123 987
输出 #1
6
329
0
1110
C++ 编辑器
输入
输出