next_permutation用于求有序数组里面的下一个排序,形式为next_permutation(数组名,数组名+n)