I have coded the solution, and i am getting wrong solutions and TLE as well.
Can you tell me where am i doing mistake?
Here is link of my code:
I have coded the solution, and i am getting wrong solutions and TLE as well.
Can you tell me where am i doing mistake?
Here is link of my code:
Thanks , it’s working now…