Run time error for CSUB , July challenge

Can anybody help me with this. I am getting a Runtime error for the problem Count Substrings(CSUB),July challenge.
The link to my code is given below. Please tell me what is wrong with this code.
Link to code -

check the syntax.

Sir it is working fine in my PC.
Please tell me whether my code is using too much of memory or not.

1 Like

Common, it’s an ongoing contest, you CANNOT ask for help!!!

You can get only some general advice, try to make it working on, but login there and make your code private, otherwise you might have a problem…

1 Like

ok, sorry. I will try to do it on my own.