by@shell_mug
AC
794ms
T = INPUT S = INPUT OUTPUT = T F OUTPUT = T K = INPUT DIFFER(S,K) :S(S) F(F) S K = TRIM(K) H EQ(SIZE(K),SIZE(TRIM(T))) :S(T) K = K '*' :(H) T OUTPUT = K END
T K
T T K***************