WA in ABSEQ

https://www.codechef.com/viewsolution/29265824

Consider the testcase:

2
ba
1 Like