stl实现全排列模板

来源:互联网 发布:python 面部表情识别 编辑:程序博客网 时间:2024/06/05 19:09
#include <bits/stdc++.h>using namespace std;int main(int argc, char const *argv[]){    string s;    cin>>s;    while(next_permutation(s.begin(),s.end()))        cout<<s<<endl;    return 0;}
0 0
原创粉丝点击