Result

AC

Duration

721ms

Code [DL]

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

stdin

ABCDEfGHIJkLMNOpQRstuVwXYZ

stdout

11111011110111101100010111

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff364ce760 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x5640e3051d40 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5640e3051d30 /* 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 +++
18    +++ exited with 0 +++
13    +++ 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=5, si_stime=2} ---
10    +++ exited with 0 +++