x#u=head$[a++'|':b|i<-[0..],(a,_:b)<-[splitAt i x],u a==u b] m@main=getLine>>=putStrLn.(#sum.map read.words)>>m
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page