Result

AC

Duration

714ms

Code [DL]

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

stdin

AbCDEFGHIjKLMNOPQRSTUVWXYZ

stdout

10111111101111111111111111

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff105add50 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x562a6fe5fd40 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x562a6fe5fd30 /* 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} ---
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=6, si_stime=1} ---
10    +++ exited with 0 +++