STL 结构体内重载 一个比较运算符

struct node
{
    ll a, b;
    
    bool operator< (const node &c)const{
        return a < c.a;
    }
}pre[eps];
东北日出西边雨 道是无情却有情
原文地址:https://www.cnblogs.com/ccut-ry/p/8027282.html