Code
#include<stdio.h>int main(){ int a,b,sum; while(scanf("%d %d",&a,&b)!=EOF) { sum=a+b; printf("%d\n",sum); } return 0;}
Attention
键盘输入CTRL+Z就是输入文件结束符。
A+B Problem
原文:https://www.cnblogs.com/joannasblog/p/9348968.html