输入n,输出集合{1,2,...,n}的所有子集

[复制链接]
查看11 | 回复1 | 2013-9-1 14:07:57 | 显示全部楼层 |阅读模式
#includeint a[100],n,m=1;FILE *in,*out;int main(){
int i;
void zj(int k);
in=fopen("zj.in","r");
out=fopen("zj.out","w");
fscanf(in,"%d",&n);
for(i=1;i<=n;i++)
a=0;
zj(1);
fclose(in);
fclose(out);
return 1;}void zj(int k){
int i,j,l;
...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行