Result

WA

Duration

773ms

Code [DL]

open String
let rec f s t=try let t=read_line()in print_endline s;f s t with _->index s 'T'+1|>sub((index t 'K'|>sub t 0)^make 99'*')|>print_string
let _=f(read_line())""

stdin

                  T                               
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
          K                                       

stdout

stderr

File "/volume/CODE", line 2, characters 115-118:
Error: Invalid literal 99'

strace