【ACM】poj_1000_A+B_201307271012

A+B Problem
Time Limit: 1000MS  Memory Limit: 10000K
Total Submissions: 296408  Accepted: 162241

Description

Calculate a+b
Input

Two integer a,b (0<=a,b<=10)
Output

Output a+b
Sample Input

1 2
Sample Output

3

 


#include <stdio.h>
int main()
{
 int a,b;
 while(scanf("%d %d",&a,&b)!=EOF)
 {
  printf("%d\n",a+b);
 }
 return 0;
}

posted @ 2013-07-27 10:14  龙腾四海365  阅读(94)  评论(0编辑  收藏  举报