Count diamonds level 2 by notogawa

m@main=do s<-mapM(\x->getChar)[0..450];print$div(sum[1|[x]<-words s])2;m

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

download

return to the top page