#ifndef S0031_NEXT_PERMUTATION_HPP
#define S0031_NEXT_PERMUTATION_HPP
#include <vector>
#include <algorithm>
using namespace std;
class S0031 {
public:
void nextPermutation(vector<int>& nums);
};
#endif