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