LASTDIGIT2 fixed and remixed by cddddr

(while(print([rec(f x e)(mod(if(= e 0)x(if(odd? e)(*(f x(- e 1))x)(f(mod(* x x)10)(/ e 2))))10)](read)(read))))

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

download

return to the top page