area of triangle by nn

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

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

download

return to the top page