4 in 3 by notogawa

import Text.Printf
m@main=getLine>>=f.map read.words>>m
f[a,b]=printf"%.2f\n"$a*b/(a+b::Float)

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

download

return to the top page