# 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;
}


#### hdoj_1000 A + B Problem

2013-04-20 12:18:43

#### HDU-A+B Problem 的Java题解 用Java语言做ACM的注意事项

2015-11-28 21:37:02

#### HDU1000A + B Problem（入门题,c,Java）

2016-02-23 18:25:32

#### [水题][hdoj_1094]A+B for Input-Output Practice (VI)

2012-07-31 01:20:16

#### [水题][hdoj_1096]A+B for Input-Output Practice (VIII)

2012-07-31 01:42:21

#### 杭电1000- A+B Problem

2015-09-16 21:49:39

#### POJ 1000 A+B Problem

2016-03-31 21:51:27

#### A+B Problem（Java练习）

2017-04-17 21:59:29

#### Problem 1000

2013年02月04日 197B 下载

#### 杭电ACM第1000题(C语言版)答案——A + B Problem

2012-09-26 14:28:08