Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
167 B
1
Indexable
Never
#include <iostream>


using namespace std;

int main() {
	int a, b, c,S;
	cin >> a >> c;
	b = sqrt(c*c - a*a);
	S = a * b / 2;
	cout << S << endl;




}
Leave a Comment