DISCHAR:Which test case i am missing?

https://www.codechef.com/viewsolution/28251504
I think i have done everything right …

That’s not a link to your submission :slight_smile:

Sorry again:sweat_smile:

1 Like

The formatting of that code :sob:
The idea behind the code is very easy. Keep in mind that the question asks for a subsequence and not a substring. Compare these definitions and build on the idea.

2 Likes