struct node{
int x,y;
friend bool operator<(const node a,const node b){
if(a.x==b.x) return a.y<b.y;
return a.x>b.x;
}
};
multiset<node> Q;
set排序重定义
最新推荐文章于 2021-10-25 17:14:42 发布
struct node{
int x,y;
friend bool operator<(const node a,const node b){
if(a.x==b.x) return a.y<b.y;
return a.x>b.x;
}
};
multiset<node> Q;