_asmah98's blog

By _asmah98, history, 17 months 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

Read more »

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

By _asmah98, history, 17 months ago, In English

Not sure why this code gives TLE.

Any help will be appreciated !

Link to Submission

Read more »

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