Result

WA

Duration

1128ms

Code [DL]

console.log(...(""+require("fs").readFileSync(0)).match(/(?<=(.))\1| ./g))

stdin

366 679
931 615
838 667
844 335
312 121
511 718
355 515
914 756
919 217
312 264
312 251
962 821
653 358
493 632
788 887
622 476
443 439
852 529
579 718
489 889
199 992
755 682
983 332
146 449
177 996
157 992
196 917
141 144
326 342
733 937
773 871
183 339

stdout

6  6  6  6 6 4  3 3  1 1  7 5  5  7  2  2  2  8  3  6 8  8 8 2  4 4  4  5  7  8 8 9  9 9 5  6  3 3  4 4 7  9 9  9 9  9  1 4  3 3  9 7  8  3 3

stderr

strace

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