占个坑,下午在更
二分操作:lower_bound和upper_bound
存图/数列操作:vector容器
全排列:next_permutation和prev_permutation
字符串转数列:atoi,atol,atoll,atof
序列操作:set
对应容器:map
字符串处理:string
双端队列:deque
排序:reserve,partition,sort,swap
链表:list
离散化去重:unique+lower_bound
「STL中的常用函数 容器」
原文:https://www.cnblogs.com/614685877--aakennes/p/13197826.html