area of triangle by kaki

#!ruby -na
s=(eval$F*'+')/2.0;p ($F.inject(s){|r,i|r*(s-i.to_i)}**0.5).round

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

download

return to the top page