Relative Frequency by cojna

m@main=do c:_:x<-getLine;putStrLn.take 8.tail.show$sum[1|y<-x,y==c]/sum[1|_<-x]+10+5e-7;m

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

download

return to the top page