Responsive image

问题 1032 --A+B Problem(III)

1032: A+B Problem(III)

时间限制: 1 Sec  内存限制: 64 MB
提交: 2145  解决: 1726
[提交][状态][讨论版][命题人:]

题目描述

Your task is to Calculate a + b.

输入描述

Input contains multiple test cases. Each test case contains a pair of integers a and b, one pair of integers per line. A test case containing 0 0 terminates the input and this test case is not to be processed.

输出描述

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.

样例输入

1 5
10 20
0 0

样例输出

6
30

来源

 

[提交][状态]
ACM算法攻关部
  • Anything about this OnlineJudge, Please Contact Administrator. Click add QQ

    OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap

    Copyright 2016 ACM算法攻关部
    关于网站改版