3 lines
77 B
Crystal
3 lines
77 B
Crystal
STDIN.read_timeout = 1
|
|
STDIN.gets # raises IO::TimeoutError (after 1 second)
|
STDIN.read_timeout = 1
|
|
STDIN.gets # raises IO::TimeoutError (after 1 second)
|