Result

AC

Duration

912ms

Code [DL]

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

stdin

744 448
554 546
778 711
144 228
529 154
812 428
686 685
174 446
197 774
785 885
285 183
633 733
329 646
961 511
766 615
468 689
211 645
784 383
511 143
899 667
955 657
734 228
829 995
288 236
443 772
687 869
812 886
824 483
948 448
112 281
326 621
822 229

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff88ba3ae0 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x560756934d30 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x560756934d40 /* 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} ---
14    +++ exited with 0 +++
17    +++ 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=4, si_stime=1} ---
10    +++ exited with 0 +++