Mental calculation by henkma

main=interact$take 199.f.reverse.map read.words
f(x:y:_)=last(show$x+y):' ':f[x+y,x]

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

download

return to the top page