优先队列重载问题

operator 排序 pri 效果
> < greater 由大到小
> > greater 由小到大
< < less 由大到小
< > less 由小到大

原文地址:https://www.cnblogs.com/war1111/p/13896572.html