fork download
  1. // we read standard input line by line
  2. while let line = readLine() {
  3. // we write the line to the standard output
  4. print(line)
  5. }
Success #stdin #stdout 0.01s 6252KB
stdin
Standard input is empty
stdout
Standard output is empty