Result

AC

Duration

554ms

Code [DL]

$<.each_byte{p 5./_1/16}

stdin

ABCDefghIJKlMNOPQrStUvwXyZ

stdout

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

stderr

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

strace

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