ON bit fixed by nn

char v[];b;f(c,n){++n/b|c<0?c||puts(v):f(c-1,n,v[n]=48)|f(c,n,v[n]++);}main(n){f(b-n,scanf("%d%d",&b,&n)-3);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page