Pages

Saturday, August 13, 2011

d489. 伏林的三角地


#include
//海龍公式
using namespace std;

int main()
{

int a,b,c;
cin >> a >> b >> c;

long long int ans = (long long int)(a+b+c)*(b+c-a)*(a+c-b)*(a+b-c);

cout << ans/16 << endl;
return 0;
}

No comments:

Post a Comment