摘要: 今天做题的时候看见一个STL函数非常好用,记录一下。函数:next_permutation(start,end);,这个函数的作用是对数值进行全排列。 对于next_permutation函数,其函数原型为: #include <algorithm> bool next_permutation(it 阅读全文
posted @ 2022-02-26 18:58 i天天开心 阅读(236) 评论(5) 推荐(4) 编辑