跳到主要内容
图灵 OJTURING / ONLINE JUDGE

#F0486. A+B for Input-Output Practice (III)

    ID: 492 传统题 1000ms 64MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>待分类整理状态难度待定难度共享题库高校与竞赛共享题英文题面题目来源题面语言

A+B for Input-Output Practice (III)

题目描述

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

输入

1 5
10 20
0 0

输出

6
30

题目来源:fps-xiao-1001-1015.xml;FPS 共享题包,题包内第 5 题。保留原作者与原赛事署名。