Result

AC

Duration

975ms

Code [DL]

:%s/\v.*(.)(\1| )..*/\1/

stdin

566 668
531 142
842 249
285 151
851 563
437 336
619 119
224 552
541 433
923 341
634 136
934 185
635 833
863 637
844 447
732 529
199 964
637 848
289 948
477 664
398 883
837 998
633 735
168 686
544 783
217 716
622 257
177 622
988 552
225 283
634 441
599 792

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd887c3e60 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x564872af5d00 /* 9 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("/root/V/v", ["/root/V/v", "/volume/CODE", "-f", "/tmp/input"], 0x564872af5d38 /* 9 vars */) = 0
14    execve("/usr/bin/readlink", ["readlink", "-e", "--", "/root/V/v"], 0x55957b87ac20 /* 10 vars */) = 0
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    execve("/usr/bin/dirname", ["dirname", "--", "/root/V/v"], 0x55957b87a3c0 /* 10 vars */) = 0
13    +++ exited with 0 +++
12    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    execve("/usr/bin/vim", ["vim", "-Nnes", "/tmp/input", "-u", "/root/V/vim/init.vim", "-i", "NONE", "-c", "call Execute_Program('/volume/CO"..., "-c", "%p", "-c", "q!"], 0x55957b879bc0 /* 11 vars */ <unfinished ...>
16    execve("/usr/bin/head", ["head", "-c", "-1"], 0x55957b879bc0 /* 11 vars */ <unfinished ...>
15    <... execve resumed>)             = 0
16    <... execve resumed>)             = 0
15    +++ exited with 0 +++
16    +++ exited with 0 +++
12    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=1, si_stime=1} ---
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++