Result

WA

Duration

870ms

Code [DL]

let a="";for(i of require("fs").readFileSync("/dev/stdin", "utf8")){a+=i>='a'?"0":"1";}console.log(a);

stdin

aBcDEfghijKlMNoPQrstuvwXyZ

stdout

010110000010110110000001011

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffec5b9aee0 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x563a994acd40 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x563a994acd30 /* 7 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    <... execve resumed>)             = 0
17    +++ exited with 0 +++
16    +++ exited with 0 +++
14    +++ exited with 0 +++
15    +++ exited with 0 +++
13    +++ exited with 0 +++
18    +++ exited with 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=4, si_stime=2} ---
10    +++ exited with 0 +++