prev_permutation

visit shbcf.ru