Result

WA

Duration

810ms

Code [DL]

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

stdin

924 749
398 811
233 337
499 297
319 668
374 778
731 138
467 365
226 223
945 954
563 783
126 476
199 299
115 318
377 558
598 988
933 377
236 321
566 118
588 515
725 291
747 753
563 117
913 334
651 343
214 674
488 197
533 325
433 332
734 443
124 421
234 345

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdc8723260 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55f6ccdbed30 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x55f6ccdbed40 /* 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 +++
14    +++ exited with 0 +++
15    +++ exited with 0 +++
16    +++ 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=3, si_stime=1} ---
10    +++ exited with 0 +++