Count diamonds level 3 by rst76

m@main=do a<-mapM(\n->getChar)[0..450];print$sum[1|"***"<-words$zipWith max a$drop 41 a]`div`2;m

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

download

return to the top page