can you correct me
I am getting time limit exceeded for my code
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.
hey where is the solution
hello @adarshsingh2k
u r not taking input as per input format thats why u r getting tle.
please read input format carefully->
for solution refer this->
incase ur left with any doubt ,feel free to ping me back
i am not asking for the challenge question i am asking in reference to this video
give -1 at the end of ur input and then it will work fine
give -1 at the end of ur input and then try it , the code will work fine
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.