Result

WA

Duration

1455ms

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                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          
                       t                          

stderr

WARNINGS for /volume/CODE:
Useless use of constant integer 1 in sink context (use Nil instead to suppress this warning) (line 1)
Cannot modify an immutable Str (           k        ...)
  in block  at /volume/CODE line 1
  in block <unit> at /volume/CODE line 1

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe4c42ce80 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5648437ead30 /* 7 vars */) = 0
12    execve("/usr/bin/perl6", ["/usr/bin/perl6", "/volume/CODE"], 0x5648437ead40 /* 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"], 0x55ee41e7a0c0 /* 7 vars */) = 0
13    +++ exited with 1 +++
12    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=1, si_utime=27, si_stime=16} ---
10    +++ exited with 1 +++