by@pizzacat83a
WA
1001ms
open String let rec r s=let t=read_line()in s^"\n"^(try let p=index t'K'in(make p' ')^(make((index s'T')-p+1)'*')with _->r s);;print_endline(r(read_line()))
T K
File "/volume/CODE", line 2, characters 71-72: Error: Syntax error: operator expected.