by@kcz146
AC
813ms
$_,*b,c=*$<;c[?K]*=99;puts$_*-~b.sz,c[0..~/T/]
T K
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 T T T T T T T T T T T T T T T T KKKKKKKKKKKKKKKKK
<internal:golf_prelude>:4: warning: redefining Object#method_missing may cause infinite loop