#include <stdio.h> //输入有多组数据。每组数据一行,包含两个整数A和B。对于每组数据输出其对应的结果。一个结果一行。 int main() { int a,b; while(scanf("%d%d",&a,&b)!=EOF) { printf("%d\n",a+b); } return 0; }
Double click to view unformatted code.