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