Result

WA

Duration

948ms

Code [DL]

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

stdin

782 258
831 361
891 976
488 412
588 384
329 297
947 533
792 992
959 454
577 775
939 996
674 335
644 442
416 616
462 458
344 468
323 229
432 528
741 935
213 131
585 233
885 551
329 885
942 621
633 323
116 685
899 113
233 665
865 563
788 988
677 286
639 538

stdout

2
1
1
8
8
9
3
92
9
75
96
35
42
6
2
4
29
2
1
3
3
51
85
2
3
6
13
65
5
8
7
9

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffeebf4be90 /* 9 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55a8a9a8cd00 /* 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"], 0x55a8a9a8cd38 /* 9 vars */) = 0
14    execve("/usr/bin/readlink", ["readlink", "-e", "--", "/root/V/v"], 0x5654a58efc20 /* 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"], 0x5654a58ef3c0 /* 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} ---
16    execve("/usr/bin/head", ["head", "-c", "-1"], 0x5654a58eebc0 /* 11 vars */) = 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!"], 0x5654a58eebc0 /* 11 vars */) = 0
16    +++ exited with 0 +++
15    +++ exited with 0 +++
12    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, 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 +++