prev_permutation()

1求上一个字典符顺序,顺序是从大到小

2.头文件#include<algorithm>

无聊就学习 反正没事干
原文地址:https://www.cnblogs.com/miao-xixixi/p/13335068.html