#include<iostream>#include<vector>using namespace std;void combination(const char str[],int num,vector<char> &result);void combination(const char str[]){ if(str == NULL) return; int len = strlen(str); int i=0; vector<char> result; for(i=1; i<=len; i++) combination(str, Read More
posted @ 2013-03-13 21:34 Frank@609 Views(210) Comments(0) Diggs(0) Edit