标签:c t sp ext string int re har name ios os
#include<iostream>
#include<algorithm>
#include<cstring>
using
namespace std;
int main()
{
int n,i;
char
a[100000];
cin>>a;
sort(a,a+strlen(a));
do{
cout<<a<<endl;
}while(next_permutation(a,a+strlen(a)));
return
0;
}
标签:c t sp ext string int re har name ios os
原文地址:http://www.cnblogs.com/hezixiansheng8/p/3701926.html