area of triangle by inaniwa

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

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

download

return to the top page