4 in 3 by aibou

printf"%.2f\n",$_.scan(/\d+/).map(&:to_f).inject{|x,y|x*y/(x+y)} while gets

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

download

return to the top page