int t;int i;int n;int k;input t;for i=1 to t{input n;k=floor(sqrt(n)+0.5);print k*11+k mod 10;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page