WA in CHEALG (PLEASE HELP)

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

1 Like

here length of new string is 6 and old string is more than 6
so yes is correct i think ?

What do you think the compressed string is?

2 Likes

sorry i misunderstood the question. Thanks for helping
Not more than 1 character can repeat.

1 Like