Result

AC

Duration

684ms

Code [DL]

gets.bytes{p 2./_1/32}

stdin

ABCDEFGHIJKLMnOPQRSTUvWxYZ

stdout

1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
0
1
0
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"], 0x7fffad65e948 /* 9 vars */) = 0
13    execve("/usr/local/ruby-latest/bin/ruby", ["/usr/local/ruby-latest/bin/ruby", "/volume/CODE"], 0x7f31882cf260 /* 9 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x7f31882cf240 /* 9 vars */) = 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=8, si_stime=0} ---
11    +++ exited with 1 +++