_asmah98's blog

By _asmah98, history, 4 years ago, In English

I know it is an overkill to use Priority Queue in recent Div 2 problem C but why does using it gives TLE on test case 32 in problem C ? isn't it O(nlogn), which should pass ?

Link to Submission

Full text and comments »

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

By _asmah98, history, 4 years ago, In English

Not sure why this code gives TLE.

Any help will be appreciated !

Link to Submission

Full text and comments »

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