For this problem If I use max heap to store the score , name pair sorted by first , and finally print top().second if top().first is not zero if it is zero i am printing “No Research This Month” but it gives wrong answer on the other hand if i keep updating the name as i update the score then the result gives AC … Why this is so ,can someone help me where I am going wrong