Result

AC

Duration

919ms

Code [DL]

$><<gets.strip.chars.map{|i| (('A'..'Z').include? i)&&1||0}.join()

stdin

aBCDEfGHiJkLmNOPQRSTUVWXYZ

stdout

01111011010101111111111111

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffea08ed5b0 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55fa37ebfd40 /* 9 vars */) = 0
12    execve("/usr/local/ruby-2.7.1/bin/ruby", ["/usr/local/ruby-2.7.1/bin/ruby", "/volume/CODE"], 0x55fa37ebfd60 /* 9 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=6, si_stime=3} ---
10    +++ exited with 0 +++