* struct Point { * int x; * int y; * Point(int xx, int yy) : x(xx), y(yy) {} * }; */ class Solution { //重写仿函数,满足优先队列的top是花费最小(花费相同,编号最小) struct cmp { bool operator()(pair<int,int>&a, pair<int,int>&b) { if(a.second == b.second) return a...