area of triangle by G.w.

main(a,b,c){for(;~scanf("%d%d%d",&a,&b,&c);a=b*b+c*c-a*a,printf("%d\n",(int)(sqrt(a+2*b*c)*sqrt(2*b*c-a)/4+0.5)));}

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

download

return to the top page