Result

AC

Duration

917ms

Code [DL]

print$a=<>;<>;$c=$_,print$a for<>;$_=$a^$c;tr/\0/ /;0while s/k /kk/;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                           
 kkkkkkkkkkkkkkkkkkkkkt                            

stderr

strace