结构体写法用于set map暂时乱存一下

来源:互联网 发布:linux vnc服务器 编辑:程序博客网 时间:2024/06/09 20:21
struct E{    ll x;    ll y;    bool operator <(const E & r)const    {         return y<r.y;    }};bool cmp(node n1,node n2){return n1.A<n2.A;}
0 0
原创粉丝点击