摘要: C++ minmax_element 最大值 最小值 algostuff.hpp minmax1.cpp 2 3 4 5 6 -3 -2 -1 0 1 2 3 4 5 6min element: -3max element: 6min: -3max: 6distance: 9minimum of a 阅读全文
posted @ 2020-01-02 20:37 西北逍遥 阅读(1525) 评论(0) 推荐(0)
摘要: C++ 元素计数 count() algostuff.hpp testCount.cpp vec1: 1 2 3 4 5 6 7 8 9number of elements equal to 4: 1number of elements with even value: 4number of ele 阅读全文
posted @ 2020-01-02 20:04 西北逍遥 阅读(6653) 评论(0) 推荐(0)