HDU 1090 A+B for Input-Output Practice (II)

#include <cstdio>
int main()
{
  int n,a,b;
  scanf("%d",&n);
  for (int i=1; i<=n; i++)
  { 
    scanf("%d%d",&a,&b);
    printf("%d\n",a+b);
  }
  return 0;
}

 

posted @ 2014-02-07 15:46  forever97  阅读(124)  评论(0编辑  收藏  举报