int a[]={1,2,3}; do{ cout<<a[0]<<" "<<a[1]<<" "<<a[2]<<endl; }while(next_permutation(a,a+3));
要输出全排列?
33,311
社区成员
41,784
社区内容
加载中
试试用AI创作助手写篇文章吧