Hi there, I don't understand why I am getting TLE here submission Can someone help me?
Hi there, I have made this submission which is an interactive solution(I think). I did not get any Idleness limit exceeded on test 1, I got Idleness limit exceeded on test 2!! I tried with different stuffs from blog but it did not work. Can someone for this to work? Thanks in advance.
Hi, there. I have made this submission while I was practicing: Submission link. The time complexity of this code is O(n). But I run the code I am TLE. I have also checked the editorial but I found no use. Beside the question there was an attention that time will be doubled. As I see in the test results the time consumed is 500ms, after getting doubled it becomes 1000ms which is TLE. Can someone help me to figure this out!!
Thank you in advance.