摘要: 1. next_permutation(): next_permutation()函数的返回类型是bool类型. 即:如果有一个更高的排列,它重新排列元素,并返回true;如果这是不可能的(因为它已经在最大可能的排列),它按升序排列重新元素,并返回false。 使用: next_permutatio 阅读全文
posted @ 2018-08-21 14:03 nono_ttaa 阅读(121) 评论(0) 推荐(0)