by@n4o847
AC
709ms
$_=`dd`;/T/;s/(\n.{$-[0]}) /\1T/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 KKKKKKKKKKKT
2+1 records in 2+1 records out