main@m=getLine>>=print.f.map read.words>>m f[x,y]|x*y<1=0 |0<1=x*y+f[x-1,y-1]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page