解题思路:
注意事项:
参考代码:
#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.6 (C语言代码)浏览:597 |
点我有惊喜!你懂得!浏览:1519 |
C语言程序设计教程(第三版)课后习题6.1 (C语言代码)浏览:637 |
printf基础练习2 (C语言代码)浏览:616 |
【回文数(二)】 (C++代码)浏览:879 |
C语言程序设计教程(第三版)课后习题7.5 (C语言代码)浏览:528 |
WU-整除问题 (C++代码)浏览:614 |
三角形 (C语言代码)浏览:928 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:535 |
C语言程序设计教程(第三版)课后习题5.4 (C语言代码)浏览:566 |