HDU1000

HDU 1000

注意:1、不止有一组测试数据,所以用while.

#include<stdio.h>

int main(){
int a,b;
while (scanf("%d %d",&a,&b)==2){
printf("%d\n",a+b);
}
return 0;
}





posted on 2012-03-24 09:23  McDong  阅读(215)  评论(0编辑  收藏  举报