Result

AC

Duration

795ms

Code [DL]

g/([^T]{50})./%1T/
w/K /s/K /KK//
m/[\s\S]+/S//%%&///

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                              
    KKKKKKKKKKKKKKKT                              

stderr

strace