i;n=9;main(c){for(;++n<7000;i&&printf("%d\n",n))for(i=c=n;c>9;c/=10)i*=c%10>c/10%10;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page