Dotcpp  >  编程题库  >  A+B for Input-Output Practice (II)
题目 1086:

A+B for Input-Output Practice (II)

时间限制: 1s 内存限制: 64MB 提交: 10705 解决: 6688

题目描述

The first line integer means the number of input integer a and b. Your task is to Calculate a + b.

输入格式

Your task is to Calculate a + b. The first line integer means the numbers of pairs of input integers.

输出格式

For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.

样例输入

2
1 5
10 20

样例输出

6
30

提示

零基础的同学可以先学习基础,教程见:  C语言教程C++教程编译器教程数据结构教程Python教程单片机教程

视频教学见视频网课

标签