摘要:
1 #include "stdafx.h" 2 #include<algorithm> 3 #include <string> 4 #include <iostream> 5 using namespace std; 6 7 void print_arrange(string s) 8 { 9 sort(s.begin(),s.end());10 do 11 {12 cout<<s<<endl;13 } while (next_permutation(s.begin(),s.end()));14 }15 16 in 阅读全文
posted @ 2011-08-09 16:46
兰保明
阅读(204)
评论(0)
推荐(0)

浙公网安备 33010602011771号