Next_permutation 快速生成全排列
string s;
s="abc";
do
{
cout<<s<<endl;
}while(next_permutation(s.begin(),s.end()));
刀剑映出了战士的心。而我的心,漆黑且残破
string s;
s="abc";
do
{
cout<<s<<endl;
}while(next_permutation(s.begin(),s.end()));