A + B Problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 225588 Accepted Submission(s): 66387
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
1 #include <stdio.h> 2 3 int main(){ 4 int a, b; 5 while(scanf("%d %d", &a, &b)!=EOF){ 6 printf("%d\n", a+b); 7 } 8 return 0; 9 }