AUSAG Problem Getting WA (KMP algorithm)

, ,

After apply kmp still Wrong Answer.
My Solution :Click