Description:Calculate a + bInput:The input will consist of a series of pairs of integers a and b,separated by a space,one pair of integers per line,0 0 means the end of the input,and do not need to output.Output:For each pair of input integers a and
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/18 03:15:16
![Description:Calculate a + bInput:The input will consist of a series of pairs of integers a and b,separated by a space,one pair of integers per line,0 0 means the end of the input,and do not need to output.Output:For each pair of input integers a and](/uploads/image/z/11816843-59-3.jpg?t=Description%3ACalculate+a+%2B+bInput%3AThe+input+will+consist+of+a+series+of+pairs+of+integers+a+and+b%2Cseparated+by+a+space%2Cone+pair+of+integers+per+line%2C0+0+means+the+end+of+the+input%2Cand+do+not+need+to+output.Output%3AFor+each+pair+of+input+integers+a+and)
Description:Calculate a + bInput:The input will consist of a series of pairs of integers a and b,separated by a space,one pair of integers per line,0 0 means the end of the input,and do not need to output.Output:For each pair of input integers a and
Description:
Calculate a + b
Input:
The input will consist of a series of pairs of integers a and b,separated by a space,one pair of integers per line,0 0 means the end of the input,and do not need to output.
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:
1 5
0 0
Sample Output:
Description:Calculate a + bInput:The input will consist of a series of pairs of integers a and b,separated by a space,one pair of integers per line,0 0 means the end of the input,and do not need to output.Output:For each pair of input integers a and
说明:计算1 + B输入:输入一个整数,将包括一系列的对A和B,由一个空格隔开,对每一条线的整数,0 0表示输入结束的,并且不需要输出.输出:对于每个输入整数对a和b你应该输出0输出样本的总和a和b在同一行,0和5一输出线中的每一行输入.范例输入:15 0 0
范例输出.