测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A14524. A+B (Trial Problem)

编程题 普及/提高-

题目描述

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
上一题 去做题 下一题