Result

AC

Duration

733ms

Code [DL]

	T = OUTPUT = INPUT
	S = INPUT
F	OUTPUT = T
	DIFFER(S,K = INPUT)	:S(S)F(F)
S	EQ(SIZE(K = TRIM(K) 1),SIZE(TRIM(T)))	:S(T)F(S)
T	OUTPUT = K
END

stdin

            T                                     
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
    K                                             

stdout

            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                                     
    K11111111

stderr

strace