fork download
  1. #include <stdio.h>
  2.  
  3. /* copy input to output; 1st version */
  4.  
  5. main()
  6. {
  7. char c;
  8.  
  9. c=getchar();
  10. while(c!=EOF) {
  11. putchar(c);
  12. c=getchar();
  13. }
  14. }
  15.  
  16.  
Success #stdin #stdout 0.01s 5284KB
stdin
123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789

123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789

12345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345


123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789

123456789
stdout
123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789

123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789

12345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345678912345


123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789

123456789