摘要: <algorithm> upper_bound/lower_bound upper_bound(a + 1, a + n + 1, w);//查找第一个大于w的位置 lower_bound(a + 1, a + n + 1, w);//查找第一个大于等于w的位置 sort sort(a + 1, a 阅读全文
posted @ 2020-07-06 17:44 Shawk 阅读(197) 评论(1) 推荐(1)