ZeroJudge & UVa Online Judge answers
#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