enum M{M;int i,j,k;{for(;i++<89876;){String s="";for(j=i;j>0;j/=10)s+=k+1-(k=j%10);if(s.matches("-?.0+2+"))System.out.println(i);}}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page