题
struct node{ ll step; int ty,x; bool operator<(const node a)const{return step>a.step;} //优先队列是大根堆,重载时要反着写才能变成小根堆。 }
有个疑惑 这里不是从大到小排序吗 堆顶元素还是最大dis的那个吗?