我们可以把 结构体 放优先队列中 实现 l自动排序操作
struct node{
int x , y;
string ss;
friend bool operator < (node a , node b) {
if(a.x != b.x) return a.x < b.x;
else if(a.y != b.y) return a.y < b.y;
else return a.ss < b.ss;
}
}