沐里纷纷


私信TA

用户名:Epoch

访问量:64418

签 名:

我不会算法

等  级
排  名 38
经  验 12997
参赛次数 1
文章发表 172
年  龄 0
在职情况 学生
学  校
专  业

  自我简介:

不会算法

解题思路:

注意事项:

参考代码:

#include <iostream>
#include <stdio.h>
#include <vector>
#include <algorithm>

using namespace std;

int main(void)
{
	string str;
	cin >> str;
	next_permutation(str.begin(), str.end());
	cout << str;
	return 0;
}


 

0.0分

0 人评分

  评论区