fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. FILE *p = stdin;
  6. char a, b, c;
  7. while(fscanf(p, "%c %c %c\n", &a, &b, &c) != EOF) {
  8. printf("%c %c %c\n", a, b, c);
  9. }
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 2172KB
stdin
2 + 3
5 + 6
6 + 7
stdout
2 + 3
5 + 6
6 + 7