#P1025. A+B Problem(多测版)
A+B Problem(多测版)
题目描述
给定两个整数,输出它们的和。
输入格式
输入包含多组数据。第一行包含一个整数 ,代表数据组数。 接下来 行,每行包含两个整数。
输出格式
对于每组数据:输出一行,包含一个整数,表示两个整数的和。
样例
3
1 2
3 4
5 6
3
7
11
You are currently in legacy mode. Some additional features will be unavailable. We strongly recommend switching to standard mode on a modern browser. Standard mode Hidden
给定两个整数,输出它们的和。
输入包含多组数据。第一行包含一个整数 T(1≤T≤2×105),代表数据组数。 接下来 T 行,每行包含两个整数a,b(1≤a,b≤109)。
对于每组数据:输出一行,包含一个整数,表示两个整数的和。
3
1 2
3 4
5 6
3
7
11
By signing up a 齐鲁工业大学算法竞赛在线评测平台 universal account, you can submit code and join discussions in all online judging services provided by us.