Help me,Idleness limit exceeded
I've tried submitting a solution to problem ------>167785392 But I get Idleness limit exceeded on test 3, I modified a small part ------>167782691, but it seems to be working Ok, I don't know why,how it works?it confuses me.
For your Idleness limit exceeded sub, I think you forgot to consider the case when q1.size() == 1 after the while loop.
CodeChef Starters 136 Solution Discussion
For your Idleness limit exceeded sub, I think you forgot to consider the case when q1.size() == 1 after the while loop.