Result

AC

Duration

1271ms

Code [DL]

疏曰*/console.log((""+require("fs").readFileSync(0)).replace(/.+(.)(\1| ).+/g,"$1"))/*

stdin

475 748
566 688
683 984
973 663
211 154
911 116
755 882
143 341
737 935
848 881
825 254
995 996
824 244
992 522
711 612
736 857
344 157
331 399
759 956
462 447
713 851
799 551
122 225
734 494
962 482
815 756
875 537
576 254
725 553
722 423
353 556
599 816

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff0d16ef40 /* 9 vars */) = 0
12    execve("/usr/bin/wenyan", ["/usr/bin/wenyan", "/volume/CODE"], 0x55c51adc9d40 /* 9 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x55c51adc9d30 /* 9 vars */ <unfinished ...>
12    <... execve resumed>)             = 0
11    <... execve resumed>)             = 0
12    execve("/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe706187e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/local/sbin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe706187e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/local/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe706187e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
12    execve("/usr/sbin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe706187e0 /* 9 vars */) = -1 ENOENT (No such file or directory)
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", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffe706187e0 /* 9 vars */) = 0
15    +++ exited with 0 +++
14    +++ exited with 0 +++
17    +++ 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=13, si_stime=1} ---
10    +++ exited with 0 +++