ON bit fixed by pooq

void f(int x,int y,string s){if(x<1)write(s);if(y<x)f(x-1,y,s+"0");if(y>0)f(x-1,y-1,s+"1");};f((int)stdin,(int)stdin,"");

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

download

return to the top page