Result

AC

Duration

908ms

Code [DL]

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

stdin

566 676
815 526
536 332
577 774
755 775
562 689
645 441
156 597
163 325
621 639
261 416
239 396
865 557
196 697
899 919
358 186
541 331
533 554
655 455
188 585
588 925
532 238
733 845
843 295
424 667
898 988
649 929
668 562
135 553
991 657
633 338
572 977

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd599e22e0 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5584a03f4d00 /* 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"], 0x5584a03f4d38 /* 9 vars */) = 0
14    execve("/usr/bin/readlink", ["readlink", "-e", "--", "/root/V/v"], 0x5565d39cdc20 /* 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"], 0x5565d39cd3c0 /* 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!"], 0x5565d39ccbc0 /* 11 vars */ <unfinished ...>
16    execve("/usr/bin/head", ["head", "-c", "-1"], 0x5565d39ccbc0 /* 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=2, si_stime=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=0, si_stime=0} ---
10    +++ exited with 0 +++