wakaranai's blog

By wakaranai, history, 2 years ago, In English

Problem Link

TLE Code

AC Code

The only difference between the Accepted code and TLE code is that I used a lambda expression in the AC code for deleting an element from a multiset. If I do the exact same thing but without the lambda expression, it times out!! What is going on here? I'm confused.

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by wakaranai (previous revision, new revision, compare).