Result

AC

Duration

736ms

Code [DL]

$_=`dd`;/T/;s/(?<=\n.{$-[0]}) /T/g;s/K */"K"x length$&/ge;print

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           
                                 KKKKKT           

stderr

4+1 records in
4+1 records out

strace