Result

AC

Duration

631ms

Code [DL]

let s=read_line() in
print_string(String.map (fun x->(if x<'a' then '1' else '0')) s)

stdin

abCdEFGhIJKLmNOPqRsTUVWxyZ

stdout

00101110111101110101111001

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc3321d5b0 /* 7 vars */) = 0
12    execve("/usr/bin/ocaml", ["/usr/bin/ocaml", "/volume/CODE"], 0x562d7c875d40 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x562d7c875d30 /* 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
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=1, si_stime=1} ---
10    +++ exited with 0 +++