上一个字典序prev_permutation(数组名+1,数组名+数组长度+1) 下一个字典序next_permutation(数组名+1,数组名+数组长度+1)
prev_permutation(数组名+1,数组名+数组长度+1)
next_permutation(数组名+1,数组名+数组长度+1)