| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 937 人关注过本帖
标题:ACM试题哪位帮我写出来(JAVA语言)
只看楼主 加入收藏
后卿
Rank: 4
来 自:网络
等 级:业余侠客
威 望:1
帖 子:302
专家分:295
注 册:2016-10-22
结帖率:81.71%
收藏
 问题点数: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
快速回复:ACM试题哪位帮我写出来(JAVA语言)
数据加载中...
 
   



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

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