#include<bits/stdc++.h>
using namespace std;
string s;
map < string , int > mp;
int main(){
cin>>s;
sort(s.begin(),s.end());
do{
if(mp[s]==0){
cout<<s<<endl;
mp[s]=1;
}
}while(next_permutation(s.begin(),s.end()));
}剪贴板
剪贴板 dxc9owtq
剪贴板信息
剪贴板信息
- 收录
- 更新