_manish_yadav_16's blog

By _manish_yadav_16, history, 2 months ago, In English

can anybody help me, why I am getting TLE in TEST CASE 9 ,even though time complexity of my code is nlog(n). question C of Educational Codeforces Round 170.

  • Vote: I like it
  • -12
  • Vote: I do not like it

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

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

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

unordered map has higher complexity in case of collision , try using normal map.

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

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