摘要:
int g_comb_count=0;void combination_Core(char *s,int a[],int i){ if(*s=='\0') { bool flag=false; for(int j=0;j(a[j]); flag=true; } if(flag) { g_comb_count++; cout<<endl; } } else { combination_Core(s+1,a,i); a[i++]=*s; combination_Core(s+1,a,i); }}void combination(char *s){ g_comb_cou. 阅读全文
posted @ 2013-07-25 12:31
dyc0113
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号