#include <stdio.h> #include <string.h> #include <math.h> #define N 1000 /*int main() { int a[N]; while(gets(a)!=EOF) { } }*/ int main() { int n; int a,b; int i; int sum; while(scanf("%d%d",&a,&b)!=EOF) { printf("%d\n",a+b); } } |
Double click to view unformatted code.