area of triangle by primo

#!ruby -na\x0d
a,b,c=$F.map &:to_i\x0d
p ((a*a*c*c-(a*a-b*b+c*c)**2/4)**0.5).to_i+1>>1

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

download

return to the top page