Next_permutation 快速生成全排列


	string s;
	s="abc";
	do
	{
		cout<<s<<endl;
	}while(next_permutation(s.begin(),s.end()));
posted @ 2019-09-02 18:58  ALEZ  阅读(197)  评论(0编辑  收藏  举报