196 algorithm by ASAQ

class H{static void Main(){for(long x=1,z=0,u,t=x;x<196;t=t-z==0?++x:t+z,z=0){for(u=t;u>0;u/=10)z=z*10+u%10;if(t-z==0)System.Console.WriteLine(t);}}}

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

download

return to the top page