Result

AC

Duration

1150ms

Code [DL]

($=$_~|($ //=$_))~~{1 while s/k\s/kk/;.say}for lines

stdin

                          T                       
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                    K                             

stdout

                          T                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                          t                       
                    kkkkkkt                       

stderr

WARNINGS for /volume/CODE:
Useless use of constant integer 1 in sink context (use Nil instead to suppress this warning) (line 1)

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdd069eb40 /* 7 vars */) = 0
12    execve("/usr/bin/perl6", ["/usr/bin/perl6", "/volume/CODE"], 0x55e50c099d40 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55e50c099d30 /* 7 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("/usr/bin/moar", ["/usr/bin/moar", "--execname=/usr/bin/perl6", "--libpath=/usr/share/nqp/lib", "--libpath=/usr/share/nqp/lib", "--libpath=/usr/share/perl6/lib", "--libpath=/usr/share/perl6/runti"..., "/usr/share/perl6/runtime/perl6.m"..., "/volume/CODE"], 0x5567a2f3a0c0 /* 7 vars */) = 0
13    +++ exited with 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=32, si_stime=11} ---
10    +++ exited with 0 +++