qasw110983's blog

By qasw110983, history, 2 years ago, In English

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.

  • Vote: I like it
  • +6
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
Rev. 2   Vote: I like it +5 Vote: I do not like it

For your Idleness limit exceeded sub, I think you forgot to consider the case when q1.size() == 1 after the while loop.