📅  最后修改于: 2022-03-11 14:44:58.625000             🧑  作者: Mango
bool next_permutation(BidirectionalIterator first, BidirectionalIterator last);
bool prev_permutation(BidirectionalIterator first, BidirectionalIterator last);
//Example:
int a[]={1,2,3,4};
do {
for(auto& i : a) cout<