using System;class X{static void Main(){for(int n=1,i=0;i<902;i+=i<n?1:-n++)if(Math.Sqrt(n-i*i)%1==0)Console.Write("{0:f6}\n",Math.Sqrt(i=n));}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page