解题思路:
注意事项:
参考代码:
#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 人评分
C语言程序设计教程(第三版)课后习题9.1 (Java代码)浏览:471 |
C语言程序设计教程(第三版)课后习题8.1 (C语言代码)浏览:439 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:465 |
C语言程序设计教程(第三版)课后习题10.2 (C语言代码)浏览:512 |
简单的a+b (C语言代码)浏览:607 |
C语言程序设计教程(第三版)课后习题6.8 (C语言代码)浏览:529 |
【蟠桃记】 (C语言代码)浏览:1037 |
循环入门练习6 (C语言代码)浏览:970 |
杨辉三角 (C语言代码)浏览:484 |
程序员的表白 (C语言代码)浏览:598 |