Result

AC

Duration

1847ms

Code [DL]

$_,*b,c=*$<;c[?K]*=99;puts$_*-~b.size,c[0..~/T/]

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                 
                                T                 
              KKKKKKKKKKKKKKKKKKK

stderr

<internal:golf_prelude>:4: warning: redefining Object#method_missing may cause infinite loop

strace