Unlock Problem 1 test case failed

UNLOCK problem in stl challanges i just submit the code but only 3 test cases are passed but 1 test case were failed so i am not able to get where the problem code link is here https://ide.codingblocks.com/s/194488

Hi @imsaurabh your code is not running for large input values of n and k so please modify the constraints as per the question

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.