TheBhediyaOfDalalStreet's blog

By TheBhediyaOfDalalStreet, history, 21 month(s) ago, In English

-195959656: Passes

-195731060: TLE on 27

What happens when this happens in an actual contest though. Is the solution judged multiple times, before the final verdict, or you just say you had a bad day?

I remember the second code passing the system tests before the hacking phase. The complexity is same as the intended one

| Write comment?
»
21 month(s) ago, # |
  Vote: I like it +1 Vote: I do not like it

If the solution very hardly passes the TL, you are in the danger zone.

The solution is judged multiple times if it gets a TLE, iirc. In that case, you got TLE in multiple test cases.