摘要: 原题链接 class Solution { public: struct Node { int id,type,d; bool operator >(const Node &W)const//小根堆重载大于号 因为标准库没有< { return d>W.d; } }; void bfs(vector 阅读全文
posted @ 2021-10-30 10:31 liv_vil 阅读(46) 评论(0) 推荐(0)