随笔分类 -  heap

摘要:link class Solution { public: struct Comp{ bool operator()(vector<int>& v1, vector<int>& v2){ return v1[0]+v1[1]>v2[0]+v2[1]; } }; int kthSmallest(vec 阅读全文
posted @ 2020-05-03 19:34 feibilun 阅读(129) 评论(0) 推荐(0)