why priority_queue is not behaving as expected?

Правка en1, от ToErr, 2018-09-17 20:06:30

this submission using priority_queue is giving TLE : http://mirror.codeforces.com/contest/467/submission/43003735

where using set giving AC : http://mirror.codeforces.com/contest/467/submission/43003953

problem link: http://mirror.codeforces.com/contest/467/problem/D

could anyone point me out what is wrong here! i am literally not getting the point :(

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ToErr 2018-09-17 20:06:30 389 Initial revision (published)