首页 > 其他 > 详细

1000---A + B Problem

时间:2016-07-24 09:18:52      阅读:238      评论:0      收藏:0      [点我收藏+]
http://acm.hdu.edu.cn/showproblem.php?pid=1000
 
Problem Description
Calculate A + B.
 

 

Input
Each line will contain two integers A and B. Process to end of file.
 

 

Output
For each case, output A + B in one line.
 

 

Sample Input
1 1
 

 

Sample Output
2
 

 

Author
HDOJ
 

 

Recommend
We have carefully selected several similar problems for you:  1089 1090 1091 1092 1093 
 
1 #include<stdio.h>
2 int main()
3 {
4 int a,b;
5 while(scanf("%d%d",&a,&b)!=EOF)
6 printf("%d\n",a+b);    
7 return 0;
8 }

 

1000---A + B Problem

原文:http://www.cnblogs.com/w-ning/p/5700089.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!