Thanks, Shafaet...
I thought last event is the event of death... that's why I couldn't get 7 as the ans Now, I read the problem statement again and got the idea that more than one event can be counted as death... will try to solve it soon.
I want a working code snippet with priority queue of java which takes a double array ... I am interested in insert and retrieval oprerations... I need to know how this class works... and I am not a Java guy. Thanks in advance.
Since a new quick submit button has been added, it is possible to submit any problem without going to that problem in the volume. Is it now possible to allow the problem volumes to be downloaded as it was for previous judge?