for(int n,i=9;(n=++i)<1e4;){while(5<abs(n%10-(n=(int)(n/10))%10));if(n<1)write(i);};

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

download

return to the top page