Result

WA

Duration

1229ms

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      

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"], 0x7ffd4d7ce140 /* 7 vars */) = 0
12    execve("/usr/bin/perl6", ["/usr/bin/perl6", "/volume/CODE"], 0x5598ce328d40 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x5598ce328d30 /* 7 vars */ <unfinished ...>
12    <... execve resumed> )            = 0
11    <... execve resumed> )            = 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"], 0x55cd223a30c0 /* 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=13} ---
10    +++ exited with 1 +++