j;main(i){for(;i<3001&&printf("%d\n",i++);)for(j=1;j<i;)(i==j+j/1000+j/100%10+j/10%10+j%10)?i++,j=1:j++;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page