Welcome To SDIBT ACM-ICPC Online Judge

VIRTUAL JUDGE Recent Contest F.A.Qs Discuss Home ProblemSet Status Ranklist 13 Contest LoginRegister Exam
2017 ACM 集训队预选排名~      报名入口
Problem 1004. -- A+B for Input-Output Practice (II)

A+B for Input-Output Practice (II)

Time Limit: 1 Sec  Memory Limit: 64 MB
Submit: 3142  Solved: 1992
[Submit][Status][Discuss]

Description

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

Input

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

Output

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.

Sample Input

2
1 5
10 20

Sample Output

6
30

HINT

Source

[Submit][Status][Discuss]

HOME Back

한국어 中文 English
All Copyright Reserved 2008-2010 SDIBT TEAM
GPL2.0 2003-2010 HUSTOJ Project TEAM
Anything about the Problems, Please Contact Admin:admin