Result

AC

Duration

857ms

Code [DL]

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

stdin

221 227
287 784
846 146
458 568
766 651
918 582
685 846
338 877
732 328
727 769
988 581
369 273
854 697
459 556
655 258
711 114
211 727
411 449
398 681
133 884
563 966
956 269
685 554
293 661
826 264
173 338
733 332
629 886
166 685
597 794
566 385
676 113

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd93cbe290 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55fc9ae40d00 /* 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"], 0x55fc9ae40d38 /* 9 vars */) = 0
14    execve("/usr/bin/readlink", ["readlink", "-e", "--", "/root/V/v"], 0x5567a8807c20 /* 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"], 0x5567a88073c0 /* 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!"], 0x5567a8806bc0 /* 11 vars */ <unfinished ...>
16    execve("/usr/bin/head", ["head", "-c", "-1"], 0x5567a8806bc0 /* 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=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 +++