fork download
  1. while true:
  2. let x = readLine(stdin)
  3. if x == "": continue
  4. echo x
Runtime error #stdin #stdout #stderr 0s 2436KB
stdin

やあ
こんにちは

こんばんは

stdout
やあ
こんにちは
こんばんは
stderr
Traceback (most recent call last)
prog.nim(2)              prog
sysio.nim(126)           readLine
system.nim(2280)         raiseEIO
Error: unhandled exception: EOF reached [IOError]