fork download
  1. # include <stdio.h>
  2.  
  3. int main(void) {
  4. int a, b, c;
  5. while(1) {
  6. c = scanf("%d%d", &a, &b);
  7. if(c==EOF)break;
  8. printf("%d\n", a+b);
  9. }
  10. }
Success #stdin #stdout 0s 4552KB
stdin
1 1
2 3
3 4
9 8
5 2
stdout
2
5
7
17
7