308748: CF1570A. A+B (Trial Problem)

Memory Limit:0 MB Time Limit:0 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

A+B (Trial Problem)

题意翻译

- 给定 $t$ 和 $t$ 对整数 $a,b$。 - 对于每对数,输出 $a+b$ 的值。 - $1\leq t\leq 10^{4},-1000\leq a,b\leq 1000$。 - **本题只允许使用 Kotlin 语言提交。** 翻译:@[雨伞CKY](https://www.luogu.com.cn/user/415445)

题目描述

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

Input

题意翻译

- 给定 $t$ 和 $t$ 对整数 $a,b$。 - 对于每对数,输出 $a+b$ 的值。 - $1\leq t\leq 10^{4},-1000\leq a,b\leq 1000$。 - **本题只允许使用 Kotlin 语言提交。** 翻译:@[雨伞CKY](https://www.luogu.com.cn/user/415445)

加入题单

算法标签: