Result

WA

Duration

726ms

Code [DL]

give s p=substr(s,"T")while 1 give t q=substr(t,"K")if q for i=2 to q see" "next for i=0 to p-q see 1 next exit else see s end

stdin

                                T                 
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
  K                                               

stdout

/tmp/code.ring Line (1) Error (C4) : Unclosed control strucutre, 'end' is missing
/tmp/code.ring errors count : 1 

stderr

strace