文章
111
粉丝
1
获赞
721
访问
21.1k
#include <bits/stdc++.h> using namespace std;
int main(){ string str; while(cin >> str){ do { cout << str << endl; } while (next_permutation(str.begin(), str.end())); cout << endl; } return 0; }
//========================================
登录后发布评论
暂无评论,来抢沙发