main=interact$f.map read.words f[y,x]=g y["1 0 ","0 1 "]>>=(++"\n").g(2*x-1) g=(.cycle).take
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page