struct node
{
int x1,x2,h;
bool operator < (const node& b) const
{
return h < b.h; //或者写成 return this.h<b.h;
}
}
struct node
{
int x1,x2,h;
bool operator < (const node& b) const
{
return h < b.h; //或者写成 return this.h<b.h;
}
}