Feedback for CLIPLX problem

My issue

Problem Link: CLIPLX Problem - CodeChef


In this problem I don’t know what’s the error in my code coz as I’m clicking “Run” the code runs perfectly and gives the expected ans.

And their is no logical error as I personally have verified with many test cases and I have verified through “ChatGPT” also , and it also say’s that my code is perfect as per the given statements and requirement.