Result

WA

Duration

552ms

Code [DL]

$<.chars{p _1.ord>96?0:1}

stdin

aBCDeFGHIjKLMNOpQRSTUvWxYZ

stdout

stderr

/volume/CODE:1:in `<main>': undefined method `chars' for ARGF:ARGF.class (NoMethodError)

strace

12    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe7281c4c8 /* 9 vars */) = 0
13    execve("/bin/cat", ["cat", "-"], 0x7ffb42799240 /* 9 vars */ <unfinished ...>
14    execve("/usr/local/ruby-latest/bin/ruby", ["/usr/local/ruby-latest/bin/ruby", "/volume/CODE"], 0x7ffb42799260 /* 9 vars */ <unfinished ...>
13    <... execve resumed>)             = 0
14    <... 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 +++