fork(1) download
  1. #include <cstdio>
  2. #include <cstring>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. char input[1001];
  9.  
  10. while(scanf("%1000[^\n]", input) != EOF)
  11. {
  12. printf("%s\n", input);
  13. }
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 4328KB
stdin
Standard input is empty
stdout
Standard output is empty