Result

WA

Duration

1525ms

Code [DL]

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

stdin

583 485
727 276
184 411
743 474
188 531
656 638
652 889
479 894
895 997
838 384
677 972
877 441
528 824
677 731
377 698
495 554
199 596
351 155
929 227
868 224
388 226
963 976
276 923
221 281
911 183
699 995
486 664
294 626
155 554
896 864
829 822
157 958

stdout

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

stderr

strace

16    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffefaf488f0 /* 9 vars */) = 0
17    execve("/bin/cat", ["cat", "-"], 0x556e62642d00 /* 9 vars */) = 0
17    +++ exited with 0 +++
16    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    execve("/root/V/v", ["/root/V/v", "/volume/CODE", "-f", "/tmp/input"], 0x556e62642d38 /* 9 vars */) = 0
20    execve("/usr/bin/readlink", ["readlink", "-e", "--", "/root/V/v"], 0x559babef0c20 /* 10 vars */) = 0
20    +++ exited with 0 +++
19    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
19    execve("/usr/bin/dirname", ["dirname", "--", "/root/V/v"], 0x559babef03c0 /* 10 vars */) = 0
19    +++ exited with 0 +++
18    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
21    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!"], 0x559babeefbc0 /* 11 vars */ <unfinished ...>
22    execve("/usr/bin/head", ["head", "-c", "-1"], 0x559babeefbc0 /* 11 vars */) = 0
21    <... execve resumed>)             = 0
22    +++ exited with 0 +++
21    +++ exited with 0 +++
18    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    +++ exited with 0 +++
16    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    +++ exited with 0 +++