hdu oj 1242 RescueRescue第一次使用STL的优先队列解决问题,这道题其实就是广搜,只不过把广搜的普通队列换成了priority_queue,单调队列吧。。。其实现在还不大懂 下面奉上AC代码:
RescueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14222 Accepted Submission(s): 5164Problem DescriptionAngel was caught by the MOLI