C++博客 :: 首页 :: 新随笔 ::  ::  :: 管理

HDU1000

Posted on 2010-08-21 23:46 Kevin_Zhang 阅读(317) 评论(0)  编辑 收藏 引用 所属分类: C/C++
#include "iostream"
#include
"stdio.h"
using namespace std;
int  main()
{
    
int a,b;
    
    
while( scanf("%d%d",&a,&b)==2)
    
{
     printf(
"%d\n",a+b);
    }

    
return 0;
}
http://acm.hdu.edu.cn/showproblem.php?pid=1000

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理