by@k_hanazuki
AC
1310ms
read s set t (string split \ (string match -nr T $s))[1] while read p echo $s set k (string match -r " *K" $p) [ $k ]&&echo $k(string repeat -n (math $t-(string length $k)) @)&&exit end
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 K@@@@@@@@@