字典翻译 问答 小学 英语 Description:Calculatea+bInput:Theinputwillconsistofaseriesofpairsofintegersaandb,separatedbyaspace,onepairofintegersperline,00meanstheendoftheinput,anddonotneedtooutput.Output:Foreachpairofinputintegersaand
问题标题:
Description:Calculatea+bInput:Theinputwillconsistofaseriesofpairsofintegersaandb,separatedbyaspace,onepairofintegersperline,00meanstheendoftheinput,anddonotneedtooutput.Output:Foreachpairofinputintegersaand
问题描述:

Description:

Calculatea+b

Input:

Theinputwillconsistofaseriesofpairsofintegersaandb,separatedbyaspace,onepairofintegersperline,00meanstheendoftheinput,anddonotneedtooutput.

Output:

Foreachpairofinputintegersaandbyoushouldoutputthesumofaandbinoneline,andwithonelineofoutputforeachlineininput.

SampleInput:

15

00

SampleOutput:

沈雄回答:
  说明:计算1+B输入:输入一个整数,将包括一系列的对A和B,由一个空格隔开,对每一条线的整数,00表示输入结束的,并且不需要输出.输出:对于每个输入整数对a和b你应该输出0输出样本的总和a和b在同一行,0和5一输出线中的每一行输入.范例输入:1500   范例输出.
点击显示
英语推荐
热门英语推荐
  • 语文
  • 数学
  • 英语
  • 科学
  • 作文