falling number by hallvabo

t,n;main(b){for(n=9;n++<1e4;b?printf("%d\n",n):0)for(b=1,t=n;t>9;t/=10)b&=t%10<t/10%10;}

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

download

return to the top page