标题:ACM试题哪位帮我写出来(JAVA语言)
取消只看楼主
后卿
Rank: 4
来 自:网络
等 级:业余侠客
帖 子:297
专家分:295
注 册:2016-10-22
结帖率:82.28%
 问题点数:0 回复次数:0 
ACM试题哪位帮我写出来(JAVA语言)
Problem Description
Your task is to Calculate a + b.
 

Input
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.
 

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
10 20
0 0
 

Sample Output
6
30
 

Author
lcy
搜索更多相关主题的帖子: should multiple JAVA 
2017-01-23 20:27



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-473792-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.220816 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved