Result

WA

Duration

721ms

Code [DL]

give s
p=substr(s,"T")
while 1
give s
for i=1 to p see" "next
?1
q=substr(s,"K")
if q
for i=1 to q see" "next
for i=1 to p-q see1 next
exit
ok
end
end

stdin

              T                                   
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
       K                                          

stdout

/tmp/code.ring Line (14) Syntax error
/tmp/code.ring errors count : 1 

stderr

strace