摘要: 蓝桥杯突击复习准备——部分算法汇总 一、一些库函数 lower_bound(a,a+n,x) //二分查找,查找大于或等于x的第一个位置,只能查找vector<>数组,返回值为vector<>::iterator指针 unique(vector1.begin(),vector1.end()) //重 阅读全文
posted @ 2020-10-16 22:30 DIY-Z 阅读(1136) 评论(0) 推荐(1) 编辑