摘要: 优先队列重载结构体的运算符常见的方法: struct Node{ int x; int y; }; struct cmp{ bool operator()(Node a,Node b){ return a.x>b.x; } }; priority_queue<node,vector<node>,cm 阅读全文
posted @ 2020-01-15 13:36 北冥有鱼兮 阅读(326) 评论(0) 推荐(0) 编辑