STL_algorithm
2017-03-20 18:45
58 查看
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/koreyoshi_chm/article/details/64130262
官方参考链接:http://www.cplusplus.com/reference/algorithm/
目前个人使用过的函数说明:
min_element:ForwardIterator min_element ( ForwardIterator first, ForwardIterator last )
作用:求序列的最小值
参数: first:最初位置 last最小位置
实战经验:结合vector可以快速求出序列的最小值
return *min_element(v1.begin(),v1.end());
相关文章推荐
- ACM竞赛常用STL(二)之STL--algorithm
- STL<algorithm> sort函数详解(转)
- stl transform algorithm example
- STL标准库algorithm中remove()函数的一个小注意事项
- (原創) 如何使用for_each() algorithm? (C/C++) (STL)
- STL之string,vector,algorithm常用方法
- STL_Apriori_Algorithm
- C++ sgi STL学习笔记之non-mutating algorithm
- stl algorithm example
- STL: <algorithm>中 sort()
- C++_STL_algorithm(算法)
- ACM竞赛常用STL(二)之STL--algorithm
- c++ STL algorithm 列表
- 【C++ STL】算法 <algorithm>中各种算法解析
- SSL-1135 二分查找【二分,STL_algorithm,hash】
- (原創) 如何使用unique() algorithm? (C/C++) (STL)
- STL algorithm count demo
- STL-KMeans-Algorithm
- c++ STL中Algorithm
- STL: <algorithm>中 next_permutation()生成全排列