Result

AC

Duration

1464ms

Code [DL]

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

stdin

289 896
355 553
299 976
397 775
322 729
897 828
766 185
466 446
992 116
423 226
113 381
733 261
988 884
689 899
257 254
922 623
751 811
259 337
558 628
744 551
443 477
944 411
961 682
314 981
734 336
731 612
329 985
328 821
716 613
535 435
484 891
612 224

stdout

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

stderr

strace

15    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffeb7a52aa0 /* 9 vars */) = 0
17    execve("/usr/bin/wenyan", ["/usr/bin/wenyan", "/volume/CODE"], 0x55f03c4ffd40 /* 9 vars */) = 0
17    execve("/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffc007ccf30 /* 9 vars */) = -1 ENOENT (No such file or directory)
17    execve("/usr/local/sbin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffc007ccf30 /* 9 vars */) = -1 ENOENT (No such file or directory)
17    execve("/usr/local/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffc007ccf30 /* 9 vars */) = -1 ENOENT (No such file or directory)
17    execve("/usr/sbin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffc007ccf30 /* 9 vars */) = -1 ENOENT (No such file or directory)
17    execve("/usr/bin/node", ["node", "/usr/bin/wenyan", "/volume/CODE"], 0x7ffc007ccf30 /* 9 vars */) = 0
16    execve("/bin/cat", ["cat", "-"], 0x55f03c4ffd30 /* 9 vars */) = 0
16    +++ exited with 0 +++
15    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
19    +++ exited with 0 +++
22    +++ exited with 0 +++
20    +++ exited with 0 +++
21    +++ exited with 0 +++
18    +++ exited with 0 +++
23    +++ exited with 0 +++
17    +++ exited with 0 +++
15    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=18, si_stime=4} ---
15    +++ exited with 0 +++