I 0-1字符串
对于长度为N位(N<32)的一格字符串,每一位都可能是0或1,请从小到大输出者2^N种01字符串
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int n; scanf("%d",&n); char *t = (char *)malloc(sizeof(char)*(n+1)); memset(t,'0',n); t[n] = '