Result

AC

Duration

1307ms

Code [DL]

(""+require("fs").readFileSync(0)).replace(/(.)\1 | ./g,x=>console.log(x[1]))

stdin

179 982
746 636
988 488
133 331
459 532
871 974
249 664
571 515
872 279
969 768
266 335
324 447
327 778
234 377
388 887
313 675
522 975
288 772
355 566
437 591
612 113
299 916
613 137
515 155
514 142
563 931
422 428
231 636
897 793
177 525
661 668
559 229

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffd30f9650 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5623226acd30 /* 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("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x5623226acd40 /* 7 vars */) = 0
16    +++ exited with 0 +++
14    +++ exited with 0 +++
15    +++ exited with 0 +++
17    +++ 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=6, si_stime=2} ---
10    +++ exited with 0 +++