摘要: 两种自定义优先级方式 struct node { int ind;double l; bool operator<(const node& other) const { return l < other.l; } }; priority_queue<node>pq; struct cmp { boo 阅读全文
posted @ 2025-05-10 19:42 邓佑孤 阅读(3) 评论(0) 推荐(0)