f(n,p){p?f(n,p/3),f(n+p,p/3):n<1e3&&printf("%d\n",n);}main(){f(0,729);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page