by@n4o847
AC
736ms
$_=`dd`;/T/;s/(?<=\n.{$-[0]}) /T/g;s/K */"K"x length$&/ge;print
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 KKKKKT
4+1 records in 4+1 records out