02 2020 档案

摘要:题一: 学习使用 next_permutation prev_permutation 发现函数next_permutation()是按照字典序产生排列的,并且是从数组中当前的字典序开始依次增大直至到最大字典序 比如初始数据是 1 2 3 使用next_permutation(a,a+n) (n==3 阅读全文
posted @ 2020-02-11 22:15 wwldx 阅读(90) 评论(0) 推荐(0)