摘要: 二分查找 1 lower_bound(begin(),end(),t)//大于等于t的第一个数的地址 2 upper_bound(begin(),end(),t)//大于t的第一个数的地址 小根堆 1 priority_queue<int,vector<int>,greater<int> >Q; 阅读全文
posted @ 2017-11-19 15:09 ChenThree 阅读(93) 评论(0) 推荐(0) 编辑