[ 提交][ 状态][ 讨论版] 题目描述 输入不说明有多少个Input Block,以EOF为结束标志 输入 1 5 10 20 输出 6 30 样例输入 1 5 10 20 样例输出 6 30 提示 来源 ACM Lesson03 #include<stdio.h> int main() { int a,b; while(scanf("%d%d",&a,&b)!=EOF) printf("%d\n",a+b); }