Untitled

 avatar
unknown
plain_text
2 years ago
205 B
4
Indexable
//домашка
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
    double a, b, c;
    cin >> a >> b;
    c = sqrt(b * b - a * a);
    cout << c * a / 2;
    return 0;
}
Editor is loading...
Leave a Comment