ENGLISH - Bug diagnosis

I have been trying to solve the problem tagged ENGLISH from the recent CodeChef January Long Challenge. Only two test-cases are giving a WA and unfortunately, I cannot come up with an edge-case for the problem.

My solution - CodeChef: Practical coding for everyone

If you have time, do help me out in fixing the bug. Thank you.

I’d hate to break this to you but if you read the question closely you won’t find a mention of \mod (1000000007) unfortunately XD! Just commented out the MODs. :slightly_smiling_face:

1 Like

I guess I did that due to the previous problem I was trying to solve (CHEFPSA) :stuck_out_tongue:
Thank you for the edit!