Result

AC

Duration

545ms

Code [DL]

(''+require('fs').readFileSync(0)).replace(/tok/g,a=>console.log("T"))

stdin

tokyotototokyototokyotototokyokyokyokyotokyokyokyo

stdout

T
T
T
T
T

stderr

strace

13    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcd2f1b848 /* 7 vars */) = 0
15    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x7ff381939240 /* 7 vars */ <unfinished ...>
14    execve("/bin/cat", ["cat", "-"], 0x7ff381939230 /* 7 vars */ <unfinished ...>
15    <... execve resumed>)             = 0
14    <... execve resumed>)             = 0
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    +++ exited with 0 +++
17    +++ exited with 0 +++
20    +++ exited with 0 +++
16    +++ exited with 0 +++
19    +++ exited with 0 +++
21    +++ exited with 0 +++
15    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=2, si_stime=2} ---
13    +++ exited with 0 +++