A bug in the tests of ICL1904

Not sure where to post this.

In the Problem, it is stated:

He makes a string M of length N, such that after deleting a substring of non-zero length from M, the remaining string is S

And yet, i kept failing the tests until i checked the corner case of a zero-length substring.

I think it causes confusion and frustration to many.

Hey, here is a code that gets AC. https://ideone.com/ubdt9G
For instance, if we are considering n = |s| then answer is non zero according to the formula. In all other cases the formula works good. I’ve hard coded the answer for n = |s| cases. Please attach some example if you think i missed your point.