(Solved) Thanks for helping

Submission link → CodeChef: Practical coding for everyone
Contest → April Cook-Off 2021 Division 3
Problem_Code → CM164364

I am not able to find the test case which can give wrong results for this solution. I have checked other’s solution which seems similar to mine.

Try this input:
1
1 1
1

Correct Output:
0

Your Output:
1

@uttaran_das Oh, man! I just realized when I looked at constraints I thought n could never be less than x but my eyes just ignored the fact that it has is equal to also, thanks buddy such a small mistake costed me a point.