摘要: 全排列函数: next_permutation() 函数原型为:bool next_permutation(iterator start,iterator end) 需要传入一个升序序列,以及迭代器的首位指针,当当前序列不存在下一个排列时,函数返回false,否则返回true。 反转函数:rever 阅读全文
posted @ 2018-03-21 20:41 Kevin_Zzzzz 阅读(1609) 评论(0) 推荐(0) 编辑