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 :(