Loke_0's blog

By Loke_0, history, 3 years ago, In English
  • Please tell me why I am getting TLE on test 88 of question 1333C.
  • As u can see in my submission my code have passed many test cases with maximum constraints (2*10^5).
  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Before somebody toxic comments, I will tell you that you should not use unordered_map, replace it with map. unordered_map is linear in the worst case, while map is logarithmic in the worst case, so it is better to use.