HDOJ 1000 A+B Problem
2016-05-31 22:35
176 查看
A + B Problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 568705 Accepted Submission(s): 180562
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
超级水题,直接上代码
#include <stdio.h> int main(void) { int a,b; while(scanf("%d %d",&a,&b)!=EOF) printf("%d\n",a+b); return 0; }
相关文章推荐
- 在线编程刷题碰到的一些问题
- Topcoder/SRM565
- 1000 A+B问题
- 关于1000!的问题
- Screen 1000 warning message
- HDU 1000 (水题)
- POJ1000---A+B Problem
- js 实现 水仙花数
- 月工资1000的悲哀(巨搞笑),要找挣钱多的工作呀
- android振动器
- 曾经觉得当IT代码工人觉得很没前途,但是到了求别人的时候真的感觉到当个代码工人还是蛮有前途的
- 2周修改了1000多个Bug后软件项目扭转了局面,未交付银行的现金管理系统健壮起来了
- 我在新浪微博的第1000篇,截图纪念。
- 1000----2000年之间的闰年
- 个人重装系统前备份___1000款最杰出的软件清单:
- Vshpere client登录VC报错
- 关于zabbix获取到的数值大于1000之后自动转换成1k的问题
- 杭电OJ --1000
- php input 表单提交数超过1000的方案
- poj 1000:A+B Problem