Result

AC

Duration

554ms

Code [DL]

gets.bytes{p 5./_1/16}

stdin

aBcDEFgHIjKLMNOPQRStuVWXYZ

stdout

0
1
0
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1

stderr

/volume/CODE:1:in `/': divided by 0 (ZeroDivisionError)
	from /volume/CODE:1:in `block in <main>'
	from /volume/CODE:1:in `bytes'
	from /volume/CODE:1:in `<main>'

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff8cbfb038 /* 9 vars */) = 0
13    execve("/usr/local/ruby-latest/bin/ruby", ["/usr/local/ruby-latest/bin/ruby", "/volume/CODE"], 0x7ff5ca68b260 /* 9 vars */ <unfinished ...>
12    execve("/bin/cat", ["cat", "-"], 0x7ff5ca68b240 /* 9 vars */ <unfinished ...>
13    <... execve resumed>)             = 0
12    <... execve resumed>)             = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    +++ exited with 1 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=1, si_utime=4, si_stime=1} ---
11    +++ exited with 1 +++