摘要:
1. random_shuffle() 随机打乱 2. partition() 不稳定的 3. stable_partition() 稳定的 #include <iostream> #include <algorithm> #include <vector> #include <iterator> 阅读全文
posted @ 2015-03-10 12:40
SandKing
阅读(8)
评论(0)
推荐(0)
摘要:
1. next_permutation() 原始数据为升序 2. prev_permutation() 原始数据为降序 #include <iostream> #include <algorithm> #include <vector> using namespace std; int main( 阅读全文
posted @ 2015-03-10 11:56
SandKing
阅读(8)
评论(0)
推荐(0)
摘要:
1. reverse() 2. reverse_copy() 3. rotate() 4. rotate_copy() #include <iostream> #include <algorithm> #include <vector> #include <iterator> using names 阅读全文
posted @ 2015-03-10 11:36
SandKing
阅读(9)
评论(0)
推荐(0)

浙公网安备 33010602011771号