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