【杭电OJ从头刷】HDU1000

来源:互联网 发布:白银理财投资数据分析 编辑:程序博客网 时间:2024/05/17 16:46

http://acm.hdu.edu.cn/showproblem.php?pid=1000

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


基础题,没有什么技巧,了解!=EOF的这种输入格式就好

0 0
原创粉丝点击