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

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

  • ID: 492
  • 传统题
  • 1000ms
  • 64MiB
  • 尝试: 0
  • AC · 已通过: 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 题。保留原作者与原赛事署名。